作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我尝试执行servlet程序时,出现以下错误。请帮助我如何解决此错误?
我尝试了很多站点,但无法清除错误。我认为设置环境变量时做错了。我已经安装了jdk1.7.0_45和apache tomcat7.0.47。
Oct 31, 2013 12:11:58 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_45\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jdk1.7.0_45/bin/../jre/bin/server;C:/Program Files/Java/jdk1.7.0_45/bin/../jre/bin;C:/Program Files/Java/jdk1.7.0_45/bin/../jre/lib/amd64;;C:\Program Files\Java\jdk1.7.0_45\bin;.;D:\Amutha\softwares\eclipse;;.
Oct 31, 2013 12:11:58 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:yt' did not find a matching property.
Oct 31, 2013 12:11:58 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 31, 2013 12:11:58 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Oct 31, 2013 12:11:58 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 716 ms
Oct 31, 2013 12:11:58 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Oct 31, 2013 12:11:58 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
Oct 31, 2013 12:11:59 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Oct 31, 2013 12:11:59 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Oct 31, 2013 12:11:59 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 665 ms
Oct 31, 2013 12:11:58 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_45\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jdk1.7.0_45/bin/../jre/bin/server;C:/Program Files/Java/jdk1.7.0_45/bin/../jre/bin;C:/Program Files/Java/jdk1.7.0_45/bin/../jre/lib/amd64;;C:\Program Files\Java\jdk1.7.0_45\bin;.;D:\Amutha\softwares\eclipse;;.
Oct 31, 2013 12:11:58 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:yt' did not find a matching property.
Oct 31, 2013 12:11:58 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 31, 2013 12:11:58 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Oct 31, 2013 12:11:58 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 716 ms
Oct 31, 2013 12:11:58 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Oct 31, 2013 12:11:58 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
Oct 31, 2013 12:11:59 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Oct 31, 2013 12:11:59 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Oct 31, 2013 12:11:59 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 665 ms
最佳答案
我在您的日志中找不到任何错误。
看一下以下教程:
Servlet and JSP development with Eclipse WTP -Lars Vogel
HOW TO CREATE A SERVLET WITH ECLIPSE AND TOMCAT
Java Servlets
关于eclipse - 如何在Eclipse Juno中运行Servlet?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19700153/
我是一名优秀的程序员,十分优秀!