31-Aug-2015 15:53:58.408 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log Server version: Apache Tomcat/8.0.15
31-Aug-2015 15:53:58.409 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log Server built: Nov 2 2014 19:25:20 UTC
31-Aug-2015 15:53:58.409 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log Server number: 8.0.15.0
31-Aug-2015 15:53:58.411 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log OS Name: Windows 7
31-Aug-2015 15:53:58.411 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log OS Version: 6.1
31-Aug-2015 15:53:58.411 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log Architecture: amd64
31-Aug-2015 15:53:58.411 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log JAVA_HOME: C:\Program Files\Java\jdk1.8.0_60\jre
31-Aug-2015 15:53:58.412 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log JVM Version: 1.8.0_60-b27
31-Aug-2015 15:53:58.412 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log JVM Vendor: Oracle Corporation
31-Aug-2015 15:53:58.412 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log CATALINA_BASE: C:\tomcat
31-Aug-2015 15:53:58.412 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log CATALINA_HOME: C:\tomcat
31-Aug-2015 15:53:58.413 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log Command line argument: -Djava.util.logging.config.file=C:\tomcat\conf
\logging.properties
31-Aug-2015 15:53:58.413 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.Cl
assLoaderLogManager
31-Aug-2015 15:53:58.414 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log Command line argument: -Djava.endorsed.dirs=C:\tomcat\endorsed
31-Aug-2015 15:53:58.414 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log Command line argument: -Dcatalina.base=C:\tomcat
31-Aug-2015 15:53:58.414 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log Command line argument: -Dcatalina.home=C:\tomcat
31-Aug-2015 15:53:58.415 INFO [main] org.apache.catalina.startup.VersionLoggerLi
stener.log Command line argument: -Djava.io.tmpdir=C:\tomcat\temp
31-Aug-2015 15:53:58.415 INFO [main] org.apache.catalina.core.AprLifecycleListen
er.lifecycleEvent The APR based Apache Tomcat Native library which allows optima
l performance in production environments was not found on the java.library.path:
C:\Program Files\Java\jdk1.8.0_60\bin;C:\Windows\Sun\Java\bin;C:\Windows\system
32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common
Files\NetSarang;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windo
ws\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program
Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Program Files (x86)\SSH Communica
tions Security\SSH Secure Shell;C:\Program Files\Java\jdk1.8.0_60\bin;C:\Program
Files\Java\jdk1.8.0_60\jre\bin;C:\tomcat\lib;C:\tomcat\bin;.
31-Aug-2015 15:53:58.546 INFO [main] org.apache.coyote.AbstractProtocol.init Ini
tializing ProtocolHandler ["http-nio-8888"]
31-Aug-2015 15:53:58.614 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.
getSharedSelector Using a shared selector for servlet write/read
31-Aug-2015 15:53:58.616 INFO [main] org.apache.catalina.startup.Catalina.load I
nitialization processed in 543 ms
31-Aug-2015 15:53:58.635 INFO [main] org.apache.catalina.core.StandardService.st
artInternal Starting service Catalina
31-Aug-2015 15:53:58.635 INFO [main] org.apache.catalina.core.StandardEngine.sta
rtInternal Starting Servlet Engine: Apache Tomcat/8.0.15
31-Aug-2015 15:53:58.639 WARNING [main] org.apache.catalina.mapper.MapperListene
r.findDefaultHost Unknown default host [localhost] for service [StandardService[
Catalina]]
31-Aug-2015 15:53:58.639 INFO [main] org.apache.coyote.AbstractProtocol.start St
arting ProtocolHandler ["http-nio-8888"]
31-Aug-2015 15:53:58.648 INFO [main] org.apache.catalina.startup.Catalina.start
Server startup in 31 ms
------解决思路----------------------
去 tomcat 文件夹下看看,项目是否生产成功。
------解决思路----------------------
看看是否服务端异常,或者页面本身就是空白
------解决思路----------------------
代码文件编码格式是什么,与你所在操作系统的文件编码格式是否相同。
例如源文件用的utf-8,但是在Windows下部署tomcat,这样文件编码格式不一致,可能会出现前端页面空白的现象。
解决办法是, tomcat/bin目录下的catalina.bat内, 修改 set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% 为 set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% -Dfile.encoding="UTF-8"
另外,启动日志中会打印一些file.encoding之类的日志,注意核对下。
------解决思路----------------------
你的tomcat8能启动成功?你换成7试试看看项目有问题吗?如果能行的话就是tomcat8本身有问题,或者说tomcat8的规范有地方变了