[jboss-user] [Installation, Configuration & Deployment] - Problems running j2ee applications on jboss

molen403@tech.nhl.nl do-not-reply at jboss.com
Fri Sep 29 08:42:58 EDT 2006


When i want to run one of my j2ee applications on jboss i will get this error:
anonymous wrote : 4:39:01,593 ERROR [MainDeployer] Could not create deployment: file:/F:/jboss-version440/server/all/deploy/Web1.war
  | java.lang.NoClassDefFoundError: javax/servlet/Servlet
  | 	at java.lang.ClassLoader.defineClass1(Native Method)
  | 	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  | 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  | 	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  | 	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
  | 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)

I got the required jar files in the web-inf/lib folder(I tested it on another pc and it worked) so i think its a windows/java issue

Anybody got an idea how to solve this problem our where i should look to solve it?

thanks,

Niels

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975144#3975144

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975144



More information about the jboss-user mailing list