| Summary: | java.lang.NoClassDefFoundError for IJ2EEFacetConstants | ||
|---|---|---|---|
| Product: | [WebTools] Java Server Faces | Reporter: | Alex Blewitt <alex.blewitt> |
| Component: | UI | Assignee: | Ian Trimble <ian.trimble> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | milesparker, raghunathan.srinivasan, thatnitind |
| Version: | 3.3 | ||
| Target Milestone: | 3.4.0 M6 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Alex Blewitt
Is there a "caused by" stack trace following that one, and are you sure that the org.eclipse.jst.web_core.feature isn't installed? No, the cause is the above. What's happening is that the 'build automatically' is set to true, which thus kicks off the buld manager which in turn invokes the FactedProjectValdiationBuilder. This error can be prevented by going into the project and turning off the Faceted Project Validation Builder from the Builders of the project, though that probably has other effects. org.eclipse.jst.web_core is not installed (I'm building up an RCP with a selection of features, and I want to have a JavaScript/HTML editor with no JSP support) The org.eclipse.wst.web_ui.feature doesn't depend on the jst.web_core, just the wst.web_core: http://dev.eclipse.org/viewcvs/viewvc.cgi/jeetools/features/org.eclipse.wst.web_ui.feature/feature.xml?view=markup&root=WebTools_Project These are the features I'm installing into my RCP, based on the contents of the JavaScript editor EPP package: <import feature="org.eclipse.jst.webpageeditor.feature" /> <import feature="org.eclipse.wst.jsdt.feature" /> <import feature="org.eclipse.wst.server_adapters.feature" /> <import feature="org.eclipse.wst.server_ui.feature" /> <import feature="org.eclipse.wst.web_ui.feature" /> <import feature="org.eclipse.wst.xml_ui.feature" /> <import feature="org.eclipse.wst.xsl.feature" /> <import feature="org.eclipse.wst.common.fproj"/> Installing JST web core drags in WST Web Services core, which I don't want either. If I remove the web page editor and the xsl feature, then I no longer get JDT installed. I then don't see this error message coming up again. I wonder if there's some part of the JST Web Page Editor that's throwing it off somehow ... Anyway, since I am no longer including the web page editor I can't see the problem again. I'm happy for this to be closed WORKSFORME or similar, unless you want to find out why this combo of features is giving that error message. (In reply to comment #2) > org.eclipse.jst.web_core is not installed (I'm building up an RCP with a > selection of features, and I want to have a JavaScript/HTML editor with no JSP > support) > > These are the features I'm installing into my RCP, based on the contents of the > JavaScript editor EPP package: > > <import feature="org.eclipse.jst.webpageeditor.feature" /> The plug-ins from the org.eclipse.jst.webpageeditor.feature feature will pull in plug-ins from Java EE and JSP, but since the feature doesn't declare dependencies at all, your combination might be exposing issues like this. Plan to address this in Juno *** Bug 359500 has been marked as a duplicate of this bug. *** The "org.eclipse.jst.webpageeditor.feature" feature continues to depend on WST and JST - it's just not designed to operate outside of this environment. That said, I don't see any WST or JST features declaring dependencies, so to make the web page editor feature do so would be incongruous. Re-open if there is disagreement. |