Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently, the design for External Resources presumes they can be used by any annotator, including those with a PEAR. This is supported by having UIMA load resources associated with External Resources using the main UIMA class loader, and in particular, not using the PEAR's special isolating class loader.
This causes an issue if part of the PEAR code references the same classes as the external resource, and these are found in the PEAR class path. You end up with two different versions of the class, loaded under different class loaders (one the main UIMA class loader, the other, the special class loader for the PEAR), and things break.
A possible fix is to treat external resource definitions that occur with a PEAR as only visible to that PEAR, and load them under the PEAR's class loader.
Attachments
Issue Links
- mentioned in
-
Page Loading...