JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Java Book » JSP 2.0 技術手冊  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友   
reply to postflat modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 Re:no java complier was found [Re:i25959341]
tanshanghua





發文: 21
積分: 0
於 2005-01-01 22:41 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我的logs文件:
2005-01-01 22:26:28 createObjectName with StandardEngine[Catalina].StandardHost[localhost]
2005-01-01 22:26:28 preRegister with Catalina:type=Logger,host=localhost
2005-01-01 22:26:47 ContextListener: contextInitialized()
2005-01-01 22:26:47 SessionListener: contextInitialized()
2005-01-01 22:26:48 ContextListener: contextInitialized()
2005-01-01 22:26:48 SessionListener: contextInitialized()
2005-01-01 22:27:14 SessionListener: contextDestroyed()
2005-01-01 22:27:14 ContextListener: contextDestroyed()
2005-01-01 22:27:14 SessionListener: contextDestroyed()
2005-01-01 22:27:14 ContextListener: contextDestroyed()
2005-01-01 22:27:14 createObjectName with StandardEngine[Catalina].StandardHost[localhost]
2005-01-01 22:27:34 createObjectName with StandardEngine[Catalina].StandardHost[localhost]
2005-01-01 22:27:34 preRegister with Catalina:type=Logger,host=localhost
2005-01-01 22:27:45 ContextListener: contextInitialized()
2005-01-01 22:27:45 SessionListener: contextInitialized()
2005-01-01 22:27:46 ContextListener: contextInitialized()
2005-01-01 22:27:46 SessionListener: contextInitialized()
2005-01-01 22:33:10 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
If using an alternate Java compiler, please check its installation and access path.

  at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:128)
  at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
  at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:413)
  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)
  at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:555)
  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
  at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
  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:563)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
  at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:670)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:517)
  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
  at java.lang.Thread.run(Thread.java:534)
tomcat也出现如上的错误。

请你能不能解释一下如上文件中的
2005-01-01 22:26:28 createObjectName with StandardEngine[Catalina].StandardHost[localhost]
2005-01-01 22:26:28 preRegister with Catalina:type=Logger,host=localhost
2005-01-01 22:26:47 ContextListener: contextInitialized()
2005-01-01 22:26:47 SessionListener: contextInitialized()
2005-01-01 22:26:48 ContextListener: contextInitialized()
2005-01-01 22:26:48 SessionListener: contextInitialized()
2005-01-01 22:27:14 SessionListener: contextDestroyed()
2005-01-01 22:27:14 ContextListener: contextDestroyed()
2005-01-01 22:27:14 SessionListener: contextDestroyed()
2005-01-01 22:27:14 ContextListener: contextDestroyed()
2005-01-01 22:27:14 createObjectName with StandardEngine[Catalina].StandardHost[localhost]
2005-01-01 22:27:34 createObjectName with StandardEngine[Catalina].StandardHost[localhost]
2005-01-01 22:27:34 preRegister with Catalina:type=Logger,host=localhost
2005-01-01 22:27:45 ContextListener: contextInitialized()
2005-01-01 22:27:45 SessionListener: contextInitialized()
2005-01-01 22:27:46 ContextListener: contextInitialized()
2005-01-01 22:27:46 SessionListener: contextInitialized()
是什么含义?
这是不是tomcat启动的时候初始化留下的日志文件?


reply to postreply to post
話題樹型展開
人氣 標題 作者 字數 發文時間
2521 no java complier was not found and where should i extract JSPsmart?? i25959341 1646 2004-12-30 00:24
2303 Re:no java complier was found koji 52 2004-12-30 00:38
1944 Re:no java complier was found koji 31 2004-12-31 23:40
2096 Re:no java complier was found tanshanghua 5740 2005-01-01 22:41
1889 Re:no java complier was found koji 87 2005-01-01 23:34
1959 Re:no java complier was found tanshanghua 85 2005-01-02 11:28
1906 Re:no java complier was found koji 101 2005-01-02 12:09
1920 Re:no java complier was found tanshanghua 378 2005-01-02 16:53
1892 Re:no java complier was found seeker 112 2005-01-02 18:28
2020 Re:no java complier was found i25959341 103 2005-01-02 18:52
1932 Re:no java complier was found i25959341 19 2004-12-30 00:54
1904 Re:no java complier was found koji 16 2004-12-30 01:00
1983 Re:no java complier was found i25959341 67 2004-12-30 01:57
1936 Re:no java complier was found koji 69 2004-12-30 02:08
1901 Re:no java complier was found i25959341 48 2004-12-30 03:09
1893 Re:no java complier was found anthonychen 96 2004-12-30 09:52
1937 Re:no java complier was found i25959341 126 2004-12-30 03:19
1902 Re:no java complier was found anthonychen 363 2004-12-30 10:00
1893 Re:no java complier was found i25959341 12 2004-12-30 13:08
1964 Re:no java complier was found tanshanghua 180 2004-12-31 21:59
» JWorld@TW »  Java Book » JSP 2.0 技術手冊

reply to postflat modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8