eclipse+tomcat classpath too long

G

G&B Net

Hi,

i'm using eclipse 3.0.2 and tomcat 4.1.30 (JRE 1.4.2_06) and when I call my jsp page I get the following error message:

the classpath has been truncated after 990 characters, I think this is the cause of the problem, but I don't know how to fix it.

it's the first time that I get this error type, but it's the first time that I use the Struts framework in my project too...


Error running javac.exe compiler

at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:489)

at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:81)

at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:976)

at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799)

at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve..java:256)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve..java:191)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: CreateProcess: javac.exe -classpath C:\apache\tomcat41\bin\bootstrap.jar;D:\applications\BOL\WebModule\WEB-INF\classes;D:\applications\BOL\WebModule\WEB-INF\lib\jt400.jar;D:\applications\BOL\WebModule\WEB-INF\lib\log4j-1.2.8.jar;D:\applications\BOL\WebModule\WEB-INF\lib\struts.jar;C:\apache\tomcat41\shared\classes;C:\apache\tomcat41\common\classes;C:\apache\tomcat41\common\endorsed\xercesImpl.jar;C:\apache\tomcat41\common\endorsed\xmlParserAPIs.jar;C:\apache\tomcat41\common\lib\activation.jar;C:\apache\tomcat41\common\lib\ant.jar;C:\apache\tomcat41\common\lib\commons-collections.jar;C:\apache\tomcat41\common\lib\jasper-compiler.jar;C:\apache\tomcat41\common\lib\jasper-runtime.jar;C:\apache\tomcat41\common\lib\jndi.jar;C:\apache\tomcat41\common\lib\jta.jar;C:\apache\tomcat41\common\lib\naming-common.jar;C:\apache\tomcat41\common\lib\naming-factory.jar;C:\apache\tomcat41\common\lib\naming-resources.jar;C:\apache\tomcat41\common\lib\servlet.jar;C:\apache\tomcat41\common\lib\tools.jar -sourcepath D:\applications\?

at java.lang.Win32Process.create(Native Method)

at java.lang.Win32Process.<init>(Unknown Source)

at java.lang.Runtime.execInternal(Native Method)

at java.lang.Runtime.exec(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:836)

at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:479)

at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:490)

at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:486)

.... 39 more

--- Nested Exception ---

java.io.IOException: CreateProcess: javac.exe -classpath C:\apache\tomcat41\bin\bootstrap.jar;D:\applications\BOL\WebModule\WEB-INF\classes;D:\applications\BOL\WebModule\WEB-INF\lib\jt400.jar;D:\applications\BOL\WebModule\WEB-INF\lib\log4j-1.2.8.jar;D:\applications\BOL\WebModule\WEB-INF\lib\struts.jar;C:\apache\tomcat41\shared\classes;C:\apache\tomcat41\common\classes;C:\apache\tomcat41\common\endorsed\xercesImpl.jar;C:\apache\tomcat41\common\endorsed\xmlParserAPIs.jar;C:\apache\tomcat41\common\lib\activation.jar;C:\apache\tomcat41\common\lib\ant.jar;C:\apache\tomcat41\common\lib\commons-collections.jar;C:\apache\tomcat41\common\lib\jasper-compiler.jar;C:\apache\tomcat41\common\lib\jasper-runtime.jar;C:\apache\tomcat41\common\lib\jndi.jar;C:\apache\tomcat41\common\lib\jta.jar;C:\apache\tomcat41\common\lib\naming-common.jar;C:\apache\tomcat41\common\lib\naming-factory.jar;C:\apache\tomcat41\common\lib\naming-resources.jar;C:\apache\tomcat41\common\lib\servlet.jar;C:\apache\tomcat41\common\lib\tools.jar -sourcepath D:\applications\?

at java.lang.Win32Process.create(Native Method)

at java.lang.Win32Process.<init>(Unknown Source)

at java.lang.Runtime.execInternal(Native Method)

at java.lang.Runtime.exec(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:836)

at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:479)

at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:490)

at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:486)

at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:81)

at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:976)

at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799)

at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve..java:256)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve..java:191)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Unknown Source)



please help me!
thank's


Andrea
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top