| Summary: | org.apache.taglibs.standard.glassfish is missing package imports for XML parser | ||
|---|---|---|---|
| Product: | [Tools] Orbit | Reporter: | Jochen Hiller <jochen.hiller> |
| Component: | bundles | Assignee: | Hugues Malphettes <hmalphettes> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | gunnar, hmalphettes |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Thanks for filing the issue. I would like to be able to use the packages provided by the JDK eventually. Jetty uses the version "0" for those 3 packages and it has been working fine. Do you think: javax.xml.parsers, org.xml.sax;version, org.xml.sax.helpers would also work for you? Cheers. Timewise we will have to wait for Indigo to be released before we can have a new build at orbit. I've tested it in my environment with imports without versions, did work well. A build after Indigo is fine for me: I have a workaround to get my product built for the moment. It would probably more relevant for Skalli CI build, but we are yet lacking other 3rdParty bundles. Cheers, Jochen Thanks for testing it. I'll commit and make a new build after Indigo. Ping us for volunteers at Orbit and we will find people to help package the dependencies you guys need. Fixed with tag v201107141553 |
I've used the bundle org.apache.taglibs.standard.glassfish from Orbit as part of the javax.servlet.jsp.glassfish feature (2.1.0.201105282013). Using this feature will raise a java.lang.NoClassDefFoundError: javax/xml/parsers/ParserConfigurationException error. We've included the bundles javax.xml, javax.xml.stream as part of our target platform. See also http://dev.eclipse.org/mhonarc/lists/skalli-dev/msg00068.html. The apache tagibs implementation has references to XML parser classes, e.g. org.xml.sax and others, but are not added in MANIFEST.MF to import packages. I've added the package imports for javax.xml.parsers;version="1.3.0", org.xml.sax;version="2.0.2", org.xml.sax.helpers;version="2.0.2" and jsp and taglib compilation did work then. I am not sure which version (min, max) has to be defined, the versions above worked well for me.