错误与eclipse Luna 4.4.1和tomcat8和java7

时间:2014-12-02 11:51:10

标签: java eclipse tomcat

我有Windows 7和tomcat 8以及eclipse Luna 4.4.1并且我已经创建了一个Web应用程序,但我无法部署此Web应用程序,它显示错误。我在下面给出了tomcat启动日志中的堆栈跟踪:请帮帮我

Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version:        Apache Tomcat/8.0.15


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:          Nov 2 2014 19:25:20 UTC


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         8.0.15.0


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Windows 7


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            6.1

Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          x86


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JAVA_HOME:             C:\Program Files\Java\jre1.8.0_25


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           1.8.0_25-b18


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor:            Oracle Corporation


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         D:\Demo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log


INFO: CATALINA_HOME:         C:\Program Files\Apache Software Foundation\Tomcat 8.0
Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=D:\Demo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.0


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=D:\Demo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 8.0\endorsed


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=Cp1252


Dec 01, 2014 5:25:51 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
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\jre1.8.0_25\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_25/bin/client;C:/Program Files/Java/jre1.8.0_25/bin;C:/Program Files/Java/jre1.8.0_25/lib/i386;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;D:\eclipse;;.


Dec 01, 2014 5:25:51 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8081"]


Dec 01, 2014 5:25:51 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read


Dec 01, 2014 5:25:51 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]


Dec 01, 2014 5:25:51 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read


Dec 01, 2014 5:25:51 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1369 ms


Dec 01, 2014 5:25:51 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina


Dec 01, 2014 5:25:51 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.15


Dec 01, 2014 5:25:52 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor D:\Demo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\DemoPro.xml


Dec 01, 2014 5:25:52 PM org.apache.catalina.startup.SetContextPropertiesRule begin


WARNING: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:DemoPro' did not find a matching property.


Dec 01, 2014 5:25:52 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deployment of configuration descriptor D:\Demo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\DemoPro.xml has finished in 126 ms


Dec 01, 2014 5:25:52 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8081"]


Dec 01, 2014 5:25:52 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]


Dec 01, 2014 5:25:52 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 856 ms

1 个答案:

答案 0 :(得分:1)

没有任何错误!

服务器启动时间为856毫秒,这是一个简单的通知,这不是错误日志!!!!

别忘了将项目添加到服务器(右键单击服务器 - > gt; add - >添加项目),重新启动服务器,而不是在服务器上运行项目。

我希望它会对你有所帮助,最好的问候!