Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java EE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Compile failed; see the compiler error output for details.[请帮解决]
andony756





发贴: 21
积分: 1
于 2006-02-28 20:36 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
C:\Borland\JBuilder2005\jdk1.4\bin\javaw -classpath "C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\bin\bootstrap.jar;C:\Borland\JBuilder2005\jdk1.4\lib\tools.jar" "-Dcatalina.home=C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27" org.apache.catalina.startup.Bootstrap -config E:\Java\project\score\Tomcat\conf\server8080.xml start
2006-2-28 20:26:51 org.apache.coyote.http11.Http11Protocol init

信息: Initializing Coyote HTTP/1.1 on http-8080

2006-2-28 20:26:51 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 718 ms

2006-2-28 20:26:51 org.apache.catalina.core.StandardService start

信息: Starting service Catalina

2006-2-28 20:26:51 org.apache.catalina.core.StandardEngine start

信息: Starting Servlet Engine: Apache Tomcat/5.0.27

2006-2-28 20:26:51 org.apache.catalina.core.StandardHost start

信息: XML validation disabled

2006-2-28 20:26:51 org.apache.catalina.core.StandardHost getDeployer

信息: Create Host deployer for direct deployment ( non-jmx )

2006-2-28 20:26:51 org.apache.coyote.http11.Http11Protocol start

信息: Starting Coyote HTTP/1.1 on http-8080

2006-2-28 20:26:51 org.apache.catalina.startup.Catalina start

信息: Server startup in 672 ms

2006-2-28 20:26:53 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:379)

  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:117)

  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(Thread.java:534)

2006-2-28 20:26:53 org.apache.jasper.compiler.Compiler generateClass

严重: Env: Compile: javaFileName=/E:/Java/project/score/Tomcat/work/webpage//org/apache/jsp/teacher\scoreinput_jsp.java
classpath=/E:/Java/project/score/webpage/WEB-INF/classes/;/E:/Java/project/score/webpage/WEB-INF/lib/msbase.jar;/E:/Java/project/score/webpage/WEB-INF/lib/mssqlserver.jar;/E:/Java/project/score/webpage/WEB-INF/lib/msutil.jar;E:\Java\project\score\Tomcat\work\webpage;/E:/Java/project/score/webpage/WEB-INF/classes/;/E:/Java/project/score/webpage/WEB-INF/lib/msbase.jar;/E:/Java/project/score/webpage/WEB-INF/lib/mssqlserver.jar;/E:/Java/project/score/webpage/WEB-INF/lib/msutil.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/shared/classes/;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/classes/;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/endorsed/xercesImpl.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/endorsed/xml-apis.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/ant-launcher.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/ant.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/commons-collections-2.1.1.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/commons-dbcp-1.2.1.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/commons-el.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/commons-pool-1.2.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/jasper-compiler.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/jasper-runtime.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/jsp-api.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/naming-common.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/naming-factory.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/naming-java.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/naming-resources.jar;C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/common/lib/servlet-api.jar;/C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27/bin/bootstrap.jar;/C:/Borland/JBuilder2005/jdk1.4/lib/tools.jar;/C:/Borland/JBuilder2005/jdk1.4/jre/lib/ext/dnsns.jar;/C:/Borland/JBuilder2005/jdk1.4/jre/lib/ext/sunjce_provider.jar;/C:/Borland/JBuilder2005/jdk1.4/jre/lib/ext/ldapsec.jar;/C:/Borland/JBuilder2005/jdk1.4/jre/lib/ext/localedata.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\bin\bootstrap.jar;C:\Borland\JBuilder2005\jdk1.4\lib\tools.jar
cp=E:\Java\project\score\webpage\WEB-INF\classes
cp=E:\Java\project\score\webpage\WEB-INF\lib\msbase.jar
cp=E:\Java\project\score\webpage\WEB-INF\lib\mssqlserver.jar
cp=E:\Java\project\score\webpage\WEB-INF\lib\msutil.jar
cp=E:\Java\project\score\Tomcat\work\webpage
cp=E:\Java\project\score\webpage\WEB-INF\classes
cp=E:\Java\project\score\webpage\WEB-INF\lib\msbase.jar
cp=E:\Java\project\score\webpage\WEB-INF\lib\mssqlserver.jar
cp=E:\Java\project\score\webpage\WEB-INF\lib\msutil.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\shared\classes
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\classes
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\endorsed\xercesImpl.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\endorsed\xml-apis.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\ant-launcher.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\ant.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\commons-collections-2.1.1.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\commons-dbcp-1.2.1.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\commons-el.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\commons-pool-1.2.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\jasper-compiler.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\jasper-runtime.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\jsp-api.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\naming-common.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\naming-factory.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\naming-java.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\naming-resources.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\common\lib\servlet-api.jar
cp=C:\Borland\JBuilder2005\thirdparty\jakarta-tomcat-5.0.27\bin\bootstrap.jar
cp=C:\Borland\JBuilder2005\jdk1.4\lib\tools.jar
cp=C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\dnsns.jar
cp=C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\sunjce_provider.jar
cp=C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\ldapsec.jar
cp=C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\localedata.jar
work dir=E:\Java\project\score\Tomcat\work\webpage
extension dir=C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext
srcDir=E:\Java\project\score\Tomcat\work\webpage
include=org/apache/jsp/teacher/scoreinput_jsp.java

2006-2-28 20:26:53 org.apache.jasper.compiler.Compiler generateClass

严重: Error compiling file: /E:/Java/project/score/Tomcat/work/webpage//org/apache/jsp/teacher\scoreinput_jsp.java [javac] Compiling 1 source file

[javac] E:\Java\project\score\Tomcat\work\webpage\org\apache\jsp\teacher\scoreinput_jsp.java:8: package cn.edu.usth.score.admin does not exist

[javac] import cn.edu.usth.score.admin.*;

[javac] ^

[javac] E:\Java\project\score\Tomcat\work\webpage\org\apache\jsp\teacher\scoreinput_jsp.java:107: college is already defined in _jspService(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)

[javac] String college=request.getParameter("selectdepartment");

[javac] ^

[javac] E:\Java\project\score\Tomcat\work\webpage\org\apache\jsp\teacher\scoreinput_jsp.java:111: i is already defined in _jspService(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)

[javac]    for(int i=0;i<speList.size();i++){

[javac] ^

[javac] 3 errors

StandardWrapperValve[debugjsp]: Servlet.service() for servlet debugjsp threw exception

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
[javac] E:\Java\project\score\Tomcat\work\webpage\org\apache\jsp\teacher\scoreinput_jsp.java:8: package cn.edu.usth.score.admin does not exist
[javac] import cn.edu.usth.score.admin.*;
[javac] ^

Generated servlet error:
[javac] E:\Java\project\score\Tomcat\work\webpage\org\apache\jsp\teacher\scoreinput_jsp.java:107: college is already defined in _jspService(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
[javac] String college=request.getParameter("selectdepartment");
[javac] ^

Generated servlet error:
[javac] E:\Java\project\score\Tomcat\work\webpage\org\apache\jsp\teacher\scoreinput_jsp.java:111: i is already defined in _jspService(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
[javac]    for(int i=0;i<speList.size();i++){
[javac] ^
[javac] 3 errors

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
[javac] E:\Java\project\score\Tomcat\work\webpage\org\apache\jsp\teacher\scoreinput_jsp.java:8: package cn.edu.usth.score.admin does not exist
[javac] import cn.edu.usth.score.admin.*;
[javac] ^

Generated servlet error:
[javac] E:\Java\project\score\Tomcat\work\webpage\org\apache\jsp\teacher\scoreinput_jsp.java:107: college is already defined in _jspService(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
[javac] String college=request.getParameter("selectdepartment");
[javac] ^

Generated servlet error:
[javac] E:\Java\project\score\Tomcat\work\webpage\org\apache\jsp\teacher\scoreinput_jsp.java:111: i is already defined in _jspService(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
[javac]    for(int i=0;i<speList.size();i++){
[javac] ^
[javac] 3 errors

  at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)

  at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)

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

  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:117)

  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(Thread.java:534)




25了才开始学JAVA晚吗?

话题树型展开
人气 标题 作者 字数 发贴时间
10005 Compile failed; see the compiler error output for details.[请帮解决] andony756 16080 2006-02-28 20:36
12782 Re:Compile failed; see the compiler error output for details.[请帮解决] 风尘仆仆 58 2006-03-05 11:56

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923