qq_32036065
2016-11-20 07:18
采纳率: 100%
浏览 15.2k
已采纳

tomcat启动报错。提示server.keystore (系统找不到指定的文件。)

2016-11-20 15:08:03 org.apache.catalina.core.AprLifecycleListener init
信息: 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\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;E:\app\Administrator\product\11.2.0\dbhome_2\bin;C:\Program Files\TortoiseSVN\bin;D:\My_Work\Java dpem\jdk1.7.0_13\bin\bin;D:\My_Work\Java dpem\jdk1.7.0_13\bin\jre\bin;C:\Program Files (x86)\SSH Communications Security\SSH Secure Shell ;D:\My_Work\Java dpem\jdk1.7.0_13\bin\bin;%CATALINA_HOME%\bin;C:\windows\system32\;F:\搜狐影音\5.0.3.21;.
2016-11-20 15:08:03 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8095
2016-11-20 15:08:03 org.apache.tomcat.util.net.jsse.JSSESocketFactory getStore
严重: Failed to load keystore type JKS with path server.keystore due to E:\Study\aaa.metadata.plugins\org.eclipse.wst.server.core\tmp0\server.keystore (系统找不到指定的文件。)
java.io.FileNotFoundException: E:\Study\aaa.metadata.plugins\org.eclipse.wst.server.core\tmp0\server.keystore (系统找不到指定的文件。)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:347)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:269)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:482)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:419)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:130)
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2016-11-20 15:08:03 org.apache.coyote.http11.Http11Protocol init
严重: Error initializing endpoint
java.io.FileNotFoundException: E:\Study\aaa.metadata.plugins\org.eclipse.wst.server.core\tmp0\server.keystore (系统找不到指定的文件。)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:347)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:269)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:482)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:419)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:130)
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2016-11-20 15:08:03 org.apache.catalina.startup.Catalina load

这是我tomcat日志。后面还有四个错误。都是提示缺少那个文件大家帮帮忙。

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • gjcandxyx 2016-11-20 07:29
    已采纳

    看看这个能否帮助你:
    http://www.iteye.com/problems/44105

    已采纳该答案
    评论
    解决 无用
    打赏 举报
  • hunter_duck 2021-06-01 15:21

    从别人的项目里,电脑上找到你缺失的文件,复制一份过来就ok了

    评论
    解决 无用
    打赏 举报