Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Tomcat 4.1.27 jars and classes  RSS feed

Sergio Barreros
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have installed tomcat 4 and it works fine, but when I add my classes under one of my applications under the /WEB-INF folder and try to restart tomcat it will not restart and it will give me the message below, the same thing happens if I copy a jar file to the $JAVA_HOME/jre/lib/ext directory, I need to do this so every application in tomcat can use that jar file.
I really hope you guys can help me, this is driving me insane, besides the fact that I need to launch this webserver within the next few days.
Thanks everyone for any help!
Sep 22, 2003 9:35:09 AM org.apache.commons.modeler.Registry loadRegistry
Sep 22, 2003 9:35:09 AM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 22, 2003 9:35:09 AM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 22, 2003 9:35:10 AM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 22, 2003 9:35:11 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Apache
Apache Tomcat/4.1.27
Exception during startup processing
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.main(
Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(
at Method)
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.catalina.core.StandardWrapper.loadServlet(
at org.apache.catalina.core.StandardWrapper.load(
at org.apache.catalina.core.StandardContext.loadOnStartup(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardHost.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardEngine.start(
at org.apache.catalina.core.StandardService.start(
at org.apache.catalina.core.StandardServer.start(
at org.apache.catalina.startup.Catalina.start(
at org.apache.catalina.startup.Catalina.execute(
at org.apache.catalina.startup.Catalina.process(
... 5 more
[ September 22, 2003: Message edited by: Sergio Barreros ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!