Skip to main content



      Home
Home » Newcomers » Newcomers » Running Web App in Juno JEE
Running Web App in Juno JEE [message #1020648] Mon, 18 March 2013 12:25 Go to next message
Eclipse UserFriend
Hi

I downloaded and installed the latest version of Eclipse JEE Juno.

I created a new static Web Project and added a index.html to the /WebContent directory.

Then right-clicked the project and selected Run As and selected to run on HTTP Local Preview and got the following runtime exceptions:

Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jetty/webapp/WebAppContext
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
at java.lang.Class.getMethod0(Class.java:2694)
at java.lang.Class.getMethod(Class.java:1622)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.webapp.WebAppContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 6 more

Re: Running Web App in Juno JEE [message #1020660 is a reply to message #1020648] Mon, 18 March 2013 12:47 Go to previous message
Eclipse UserFriend
On 3/18/2013 10:25 AM, Graham Seed wrote:
> Hi
>
> I downloaded and installed the latest version of Eclipse JEE Juno.
>
> I created a new static Web Project and added a index.html to the
> /WebContent directory.
>
> Then right-clicked the project and selected Run As and selected to run
> on HTTP Local Preview and got the following runtime exceptions:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/eclipse/jetty/webapp/WebAppContext
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
> at java.lang.Class.getMethod0(Class.java:2694)
> at java.lang.Class.getMethod(Class.java:1622)
> at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
> at
> sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
> Caused by: java.lang.ClassNotFoundException:
> org.eclipse.jetty.webapp.WebAppContext
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> ... 6 more

You should ask this question in the Eclipse web tools platform forum,
not here.
Previous Topic:Eclipse Juno themes
Next Topic:opening Eclipse
Goto Forum:
  


Current Time: Wed Jul 23 17:49:38 EDT 2025

Powered by FUDForum. Page generated in 0.05539 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top