Community
Participate
Working Groups
Created attachment 220660 [details] screen shot IDE throws this error when trying to export jsp project from right click > Export > WAR file: java.lang.NoClassDefFoundError: org/eclipse/wst/web/internal/deployables/IFlatDeployable
Mauricio, First, what level of Eclipse is this on? What is the version of org.eclipse.wst.web that you have installed? What version of org.eclipse.jst.j2ee do you have installed? How did you install WTP? I am assigning this to Roberto for now, but until we get more information, there is not much that we can do.
Hi Carl, I hope these details cover what you're asking for: - Eclipse IDE for Java EE Developers version 1.5.0.20120614-1633 (Juno) - org.eclipse.wst.web version: 1.1.600.v201201190430 - org.eclipse.jst.j2ee version: 1.1.601.v201207101600 I installed WTP via Help>Install New Software... menu. Greetings.
Hi Mauricio, Do you mean you downloaded Eclipse IDE for Java EE Developers version 1.5.0.20120614-1633 (Juno) and then you installed WTP on it? Because the Java EE eclipse package already has WTP.
(In reply to comment #3) > Hi Mauricio, > Do you mean you downloaded Eclipse IDE for Java EE Developers version > 1.5.0.20120614-1633 (Juno) and then you installed WTP on it? > > Because the Java EE eclipse package already has WTP. Hi Roberto, Not really, I tryed to install WTP that way (didn't know it was included with Juno installation) but I got a message telling me that it was already installed. I installed the WTP Patches update instead, the one fixing bug 380581.
Mauricio, I downloaded the Java EE package for Juno, and installed the patch for bug 380581 from here: http://download.eclipse.org/webtools/patches/drops/R3.4.0/P-3.4.0-20120710153526/, using both the update site and the zip file, and I did not see the problem you are reporting. What I noticed is that the version of your plugin org.eclipse.wst.web is older than the one that comes with the Java EE package for Juno. Your version: org.eclipse.wst.web version: 1.1.600.v201201190430 Version in Juno: org.eclipse.wst.web version: 1.1.600.v201204190200 Did you download the latest version of the Java EE package? I suggest downloading the latest version (http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/junor), install the patch and try again.
Update: I have reinstalled Eclipse Juno and export WAR file works just fine. Apparently it's the patch itself what was causing the problem (WTP Patches 3.4.0), which is downloaded from: The Eclipse Web Tools Platform (WTP) software repository - http://download.eclipse.org/webtools/repository/juno with the Help>Install New Software... menu. Greetings.
Mauricio, Carl, I tried installing the Java EE package from the url I included in comment #5, and installed the patch using the Help>Install New Software... menu, and worked fine: I can export a web projects, and the bug addressed by the patch is fixed. I'm resolving the bug as works for me. Mauricio, please reopen if you find this problem again. Thanks