1 Reply Latest reply: Sep 5, 2002 6:41 PM by 807581 RSS

    I want to use Tomcat 4.0.4 with the ability to compile JSP files from within the IDE?

    807581
      I receive the following errors when trying to load the jsp in my browser, this only happens when I have fully integrated with Tomcat 4.0.4 by changing the IDE Integration Mode to full.

      It seems that it modifies the class loader then can't load it.

      javax.servlet.ServletException: Error instantiating servlet class org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet
           at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:895)
           at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
           at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3279)
           at org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
           at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
           at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
           at org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
           at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
           at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
           at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
           at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
           at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
           at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
           at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
           at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
           at org.apache.catalina.core.StandardService.start(StandardService.java:388)
           at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
           at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
           at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
           at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:324)
           at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
      ----- Root Cause -----
      java.lang.NoClassDefFoundError: org/apache/jasper/JasperError
           at java.lang.Class.getDeclaredConstructors0(Native Method)
           at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
           at java.lang.Class.getConstructor0(Class.java:1748)
           at java.lang.Class.newInstance0(Class.java:266)
           at java.lang.Class.newInstance(Class.java:249)
           at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:886)
           at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
           at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3279)
           at org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
           at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
           at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
           at org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
           at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
           at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
           at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
           at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
           at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
           at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
           at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
           at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
           at org.apache.catalina.core.StandardService.start(StandardService.java:388)
           at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
           at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
           at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
           at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:324)
           at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)