gpt4 book ai didi

java - Servlet-Apache Tomcat

转载 作者:行者123 更新时间:2023-11-28 23:30:08 25 4
gpt4 key购买 nike

需要帮助。
我正在使用 JDK 1.7 & Tomcat 7
我正在尝试启动 tomcat 服务器,但看不到 apache tomcat 的主页。
我查看了日志文件并得到了这个日志:

Jul 21, 2015 4:24:30 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/7.0.63
Jul 21, 2015 4:24:30 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Jun 30 2015 08:08:33 UTC
Jul 21, 2015 4:24:30 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 7.0.63.0
Jul 21, 2015 4:24:30 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Windows 7
Jul 21, 2015 4:24:30 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 6.1
Jul 21, 2015 4:24:30 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: amd64
Jul 21, 2015 4:24:30 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: C:\Program Files\Java\jdk1.7.0_79\jre
Jul 21, 2015 4:24:30 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.7.0_79-b15
Jul 21, 2015 4:24:30 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Jul 21, 2015 4:24:30 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: C:\apache-tomcat-7.0.63\apache-tomcat-7.0.63
Jul 21, 2015 4:24:30 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: C:\apache-tomcat-7.0.63\apache-tomcat-7.0.63

SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]

Jul 21, 2015 4:24:31 PM org.apache.catalina.startup.HostConfig deployDirectory
SEVERE: Error deploying web application directory C:\apache-tomcat-7.0.63\apache-tomcat-7.0.63\webapps\docs
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]

最佳答案

我最初的想法是您正在使用的 Tomcat 安装不是全新安装。尝试并按照以下步骤操作:

  1. 从以下位置下载您喜欢的副本:http://tomcat.apache.org/download-70.cgi
  2. 解压到指定文件夹
  3. 使用启动脚本启动服务。

关于java - Servlet-Apache Tomcat,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31537469/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com