[ https://issues.apache.org/jira/browse/UIMA-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor closed UIMA-1427. -------------------------------- Resolution: Invalid Hi Kai - The problem was solved by changing your code slightly. The form: Some_Class_name.class.getResourceAsStream(name) is defined to fetch the resource *in the same package* as the class. To fix this, use the form: Some_Class_name.class.getClassLoader().getResrouceAsStream(name). Also, you probably don't need the UIMA buddy loading mechanism for this if you use as the "Some_Class_name" the name of your annotator class, because the class loader used for that will be used, and it should be the one for the plugin - having addressability per the plugin-in's manifest. > AE as Eclipse plugin + resource definitions = ResourceAccessException > --------------------------------------------------------------------- > > Key: UIMA-1427 > URL: https://issues.apache.org/jira/browse/UIMA-1427 > Project: UIMA > Issue Type: Question > Components: Core Java Framework > Affects Versions: 2.2.2 > Reporter: Kai Schlamp > Attachments: testUimaResources.zip > > > Please see http://article.gmane.org/gmane.comp.apache.uima.general/2147 > This issue provides the sample plugins to demonstrate the problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.