当前位置: 代码迷 >> Java Web开发 >> [求助]看看哪错了
  详细解决方案

[求助]看看哪错了

热度:402   发布时间:2007-07-21 12:44:23.0
[求助]看看哪错了

Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:844)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:390)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:455)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:555)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:286)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:258)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:256)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:210)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:196)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:647)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:497)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:649)
at java.lang.Thread.run(Thread.java:595)
2007-7-21 12:39:25 org.apache.jasper.compiler.Compiler generateClass
严重: Env: Compile: javaFileName=E:\installone\Tomcat\work\Catalina\localhost\StrutsXml\org\apache\jsp\index_jsp.java
classpath=/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/classes/;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-beanutils.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-collections.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-digester.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-fileupload.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-lang.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-logging.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-validator.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/jakarta-oro.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/mysql-connector-java-3.2.0-alpha-bin.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/struts-legacy.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/struts.jar;E:\installone\Tomcat\work\Catalina\localhost\StrutsXml;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/classes/;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-beanutils.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-collections.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-digester.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-fileupload.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-lang.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-logging.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/commons-validator.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/jakarta-oro.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/mysql-connector-java-3.2.0-alpha-bin.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/struts-legacy.jar;/E:/installone/Tomcat/webapps/StrutsXml/WEB-INF/lib/struts.jar;E:/installone/Tomcat/shared/classes/;E:/installone/Tomcat/common/classes/;E:/installone/Tomcat/common/endorsed/xercesImpl.jar;E:/installone/Tomcat/common/endorsed/xmlParserAPIs.jar;E:/installone/Tomcat/common/lib/ant.jar;E:/installone/Tomcat/common/lib/commons-collections.jar;E:/installone/Tomcat/common/lib/commons-dbcp.jar;E:/installone/Tomcat/common/lib/commons-el.jar;E:/installone/Tomcat/common/lib/commons-logging-api.jar;E:/installone/Tomcat/common/lib/commons-pool.jar;E:/installone/Tomcat/common/lib/jasper-compiler.jar;E:/installone/Tomcat/common/lib/jasper-runtime.jar;E:/installone/Tomcat/common/lib/jmx-tools.jar;E:/installone/Tomcat/common/lib/jmx.jar;E:/installone/Tomcat/common/lib/jsp-api.jar;E:/installone/Tomcat/common/lib/naming-common.jar;E:/installone/Tomcat/common/lib/naming-factory.jar;E:/installone/Tomcat/common/lib/naming-java.jar;E:/installone/Tomcat/common/lib/naming-resources.jar;E:/installone/Tomcat/common/lib/servlet-api.jar;E:/installone/Tomcat/common/lib/tools.jar
cp=E:\installone\Tomcat/bin/bootstrap.jar;E:\Program Files\Java\jdk1.5.0_03/lib/tools.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\classes
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-beanutils.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-collections.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-digester.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-fileupload.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-lang.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-logging.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-validator.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\jakarta-oro.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\mysql-connector-java-3.2.0-alpha-bin.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\struts-legacy.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\struts.jar
cp=E:\installone\Tomcat\work\Catalina\localhost\StrutsXml
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\classes
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-beanutils.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-collections.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-digester.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-fileupload.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-lang.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-logging.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\commons-validator.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\jakarta-oro.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\mysql-connector-java-3.2.0-alpha-bin.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\struts-legacy.jar
cp=E:\installone\Tomcat\webapps\StrutsXml\WEB-INF\lib\struts.jar
cp=E:\installone\Tomcat\shared\classes
cp=E:\installone\Tomcat\common\classes
cp=E:\installone\Tomcat\common\endorsed\xercesImpl.jar
cp=E:\installone\Tomcat\common\endorsed\xmlParserAPIs.jar
cp=E:\installone\Tomcat\common\lib\ant.jar
cp=E:\installone\Tomcat\common\lib\commons-collections.jar
cp=E:\installone\Tomcat\common\lib\commons-dbcp.jar
cp=E:\installone\Tomcat\common\lib\commons-el.jar
cp=E:\installone\Tomcat\common\lib\commons-logging-api.jar
cp=E:\installone\Tomcat\common\lib\commons-pool.jar
cp=E:\installone\Tomcat\common\lib\jasper-compiler.jar
cp=E:\installone\Tomcat\common\lib\jasper-runtime.jar
cp=E:\installone\Tomcat\common\lib\jmx-tools.jar
cp=E:\installone\Tomcat\common\lib\jmx.jar
cp=E:\installone\Tomcat\common\lib\jsp-api.jar
cp=E:\installone\Tomcat\common\lib\naming-common.jar
cp=E:\installone\Tomcat\common\lib\naming-factory.jar
cp=E:\installone\Tomcat\common\lib\naming-java.jar
cp=E:\installone\Tomcat\common\lib\naming-resources.jar
cp=E:\installone\Tomcat\common\lib\servlet-api.jar
cp=E:\installone\Tomcat\common\lib\tools.jar
work dir=E:\installone\Tomcat\work\Catalina\localhost\StrutsXml
srcDir=E:\installone\Tomcat\work\Catalina\localhost\StrutsXml
include=org/apache/jsp/index_jsp.java

2007-7-21 12:39:25 org.apache.jasper.compiler.Compiler generateClass
严重: Error compiling file: E:\installone\Tomcat\work\Catalina\localhost\StrutsXml\org\apache\jsp\index_jsp.java [javac] Compiling 1 source file

E:\installone\Tomcat\work\Catalina\localhost\StrutsXml\org\apache\jsp\index_jsp.java:6: 需要 <标识符>
import ;
^
1 错误

搜索更多相关主题的帖子: 439  455  details  failed  

----------------解决方案--------------------------------------------------------
import ;

----------------解决方案--------------------------------------------------------
不是啊

我STRUTS 引标签是 写错了

所以报这个错


----------------解决方案--------------------------------------------------------
  相关解决方案