用jbuilder编译项目时,全部jsp文件都能编译,就是无法自动显示出结果的主页
在IE下输入 http://localhost:8080/xiangmu/可以正常运行,会显示项目主页,说明我c盘的tomcat可以用啊
在jbuilder下就出错了,有以下信息
C:\Borland\JBuilder2006\jdk1.5\bin\javaw -classpath "C:\Borland\JBuilder2006\thirdparty\jakarta-tomcat-5.5.9\bin\bootstrap.jar;C:\Borland\JBuilder2006\jdk1.5\lib\tools.jar " "-Dcatalina.home=C:/Borland/JBuilder2006/thirdparty/jakarta-tomcat-5.5.9 " org.apache.catalina.startup.Bootstrap -config F:\案例精选\mingrisoft\vendition\Tomcat\conf\server8089.xml start
2007-5-23 20:05:53 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8089
2007-5-23 20:05:53 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 609 ms
2007-5-23 20:05:53 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2007-5-23 20:05:53 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.9
2007-5-23 20:05:53 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-5-23 20:05:53 org.apache.catalina.realm.JAASRealm setContainer
信息: Set JAAS app name Catalina
2007-5-23 20:05:53 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8089
2007-5-23 20:05:53 org.apache.catalina.startup.Catalina start
信息: Server startup in 922 ms
2007-5-23 20:05:54 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet managerservlet threw exception
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:415)
at java.lang.Integer.parseInt(Integer.java:497)
at com.webtier.ManagerServlet.doGet(ManagerServlet.java:27)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
jbuilder地址栏出现这个
http://localhost:8089/web/managerservlet,内容也是出错信息,不应该出现http://localhost:8080/xiangmu这个地址吗,IE输入的那个地址