当前位置: 代码迷 >> Java Web开发 >> [求助]一个错误...啥意思呀?
  详细解决方案

[求助]一个错误...啥意思呀?

热度:244   发布时间:2007-03-10 16:41:10.0
[求助]一个错误...啥意思呀?

成功启动TOMCAT后,一打开网页就显示这堆错误~~

信息: Server startup in 2672 ms
2007-3-10 16:39:09 org.apache.jasper.compiler.Compiler generateClass
严重: Javac exception
Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:944)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
2007-3-10 16:39:09 org.apache.jasper.compiler.Compiler generateClass
严重: Env: Compile: javaFileName=/E:/movie/work//org/apache/jsp\createcd_jsp.java
classpath=/E:/movie/WEB-INF/classes/;/E:/movie/WEB-INF/lib/msbase.jar;/E:/movie/WEB-INF/lib/mssqlserver.jar;/E:/movie/WEB-INF/lib/msutil.jar;E:\movie\work;/E:/movie/WEB-INF/classes/;/E:/movie/WEB-INF/lib/msbase.jar;/E:/movie/WEB-INF/lib/mssqlserver.jar;/E:/movie/WEB-INF/lib/msutil.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/shared/classes/;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/classes/;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/naming-factory.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/jasper-runtime.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/commons-collections-3.1.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/jasper-compiler.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/commons-dbcp-1.2.1.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/ant-launcher.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/ant.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/naming-java.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/commons-pool-1.2.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/naming-resources.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/jsp-api.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/commons-el.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/servlet-api.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/naming-common.jar;D:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/tools.jar;/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.0/bin/bootstrap.jar;/D:/Program%20Files/Java/jre1.6.0/lib/ext/jmf.jar;/D:/Program%20Files/Java/jre1.6.0/lib/ext/sound.jar;/D:/Program%20Files/Java/jre1.6.0/lib/ext/dnsns.jar;/D:/Program%20Files/Java/jre1.6.0/lib/ext/sunjce_provider.jar;/D:/Program%20Files/Java/jre1.6.0/lib/ext/sunmscapi.jar;/D:/Program%20Files/Java/jre1.6.0/lib/ext/sunpkcs11.jar;/D:/Program%20Files/Java/jre1.6.0/lib/ext/localedata.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar
cp=E:\movie\WEB-INF\classes
cp=E:\movie\WEB-INF\lib\msbase.jar
cp=E:\movie\WEB-INF\lib\mssqlserver.jar
cp=E:\movie\WEB-INF\lib\msutil.jar
cp=E:\movie\work
cp=E:\movie\WEB-INF\classes
cp=E:\movie\WEB-INF\lib\msbase.jar
cp=E:\movie\WEB-INF\lib\mssqlserver.jar
cp=E:\movie\WEB-INF\lib\msutil.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\shared\classes
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\classes
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-factory.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\jasper-runtime.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-collections-3.1.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\jasper-compiler.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-dbcp-1.2.1.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\ant-launcher.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\ant.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-java.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-pool-1.2.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-resources.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\jsp-api.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-el.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\servlet-api.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-common.jar
cp=D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\tools.jar
cp=D:\Program%20Files\Apache%20Software%20Foundation\Tomcat%205.0\bin\bootstrap.jar
cp=D:\Program%20Files\Java\jre1.6.0\lib\ext\jmf.jar
cp=D:\Program%20Files\Java\jre1.6.0\lib\ext\sound.jar
cp=D:\Program%20Files\Java\jre1.6.0\lib\ext\dnsns.jar
cp=D:\Program%20Files\Java\jre1.6.0\lib\ext\sunjce_provider.jar
cp=D:\Program%20Files\Java\jre1.6.0\lib\ext\sunmscapi.jar
cp=D:\Program%20Files\Java\jre1.6.0\lib\ext\sunpkcs11.jar
cp=D:\Program%20Files\Java\jre1.6.0\lib\ext\localedata.jar
work dir=E:\movie\work
extension dir=D:\Program Files\Java\jre1.6.0\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
srcDir=E:\movie\work
include=org/apache/jsp/createcd_jsp.java

2007-3-10 16:39:09 org.apache.jasper.compiler.Compiler generateClass
严重: Error compiling file: /E:/movie/work//org/apache/jsp\createcd_jsp.java [javac] Compiling 1 source file

E:\movie\work\org\apache\jsp\createcd_jsp.java:44: 无法访问 bean.CDInfo
错误的类文件: E:\movie\WEB-INF\classes\bean\CDInfo.class
类文件具有错误的版本 50.0,应为 49.0
请删除该文件或确保该文件位于正确的类路径子目录中。
bean.CDInfo cdInfo = null;
^
1 错误

[此贴子已经被作者于2007-3-10 16:42:15编辑过]

搜索更多相关主题的帖子: 意思  

----------------解决方案--------------------------------------------------------
一,你的类的版本你的TOMCAT不认识
二,你的类找不到
----------------解决方案--------------------------------------------------------
了解了...3Q
----------------解决方案--------------------------------------------------------
  相关解决方案