首页新闻找找看学习计划

关于idea中配置tomcat出现的问题:

0
悬赏园豆:30 [待解决问题]

D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.75\bin\catalina.bat run
[2017-07-20 04:58:11,285] Artifact Tmall:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE: "C:\Users\Administrator\.IntelliJIdea15\system\tomcat\Unnamed_Tmall_4"
Using CATALINA_HOME: "D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.75"
Using CATALINA_TMPDIR: "D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.75\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.7.0_80"
Using CLASSPATH: "D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.75\bin\bootstrap.jar;D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.75\bin\tomcat-juli.jar"
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.75
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Jan 18 2017 20:54:42 UTC
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.75.0
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 8.1
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 6.3
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: C:\Program Files\Java\jdk1.7.0_80\jre
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.7.0_80-b15
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: C:\Users\Administrator\.IntelliJIdea15\system\tomcat\Unnamed_Tmall_4
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.75
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea15\system\tomcat\Unnamed_Tmall_4\conf\logging.properties
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote=
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.75\endorsed
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea15\system\tomcat\Unnamed_Tmall_4
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.75
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.75\temp
七月 20, 2017 4:58:12 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: 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_80\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;D:\Program Files\MySQL\bin; C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_80\bin;C:\Program Files\Java\jre7\bin;C:\windows\system32;D:\小调~\框架\Maven\apache-maven-3.3.9\bin;D:\git\setup\Git\cmd;.
七月 20, 2017 4:58:12 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
七月 20, 2017 4:58:12 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 623 ms
七月 20, 2017 4:58:12 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
七月 20, 2017 4:58:12 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.75
七月 20, 2017 4:58:12 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
七月 20, 2017 4:58:12 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
七月 20, 2017 4:58:12 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 47 ms
Connected to server
[2017-07-20 04:58:12,856] Artifact Tmall:war exploded: Artifact is being deployed, please wait...
[2017-07-20 04:58:13,313] Artifact Tmall:war exploded: Artifact is deployed successfully
[2017-07-20 04:58:13,313] Artifact Tmall:war exploded: Deploy took 457 milliseconds
七月 20, 2017 4:58:22 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.75\webapps\manager
七月 20, 2017 4:58:22 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.75\webapps\manager has finished in 72 ms

小调~的主页 小调~ | 初学一级 | 园豆:190
提问于:2017-07-20 10:32
< >
分享
所有回答(3)
0

参考 http://www.cnblogs.com/ycyzharry/p/5954144.html

要是再报其他错贴出来

ycyzharry | 园豆:19371 (专家六级) | 2017-07-20 11:20

试了,不行啊,也没有其他报错,

七月 20, 2017 11:25:10 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: Loaded APR based Apache Tomcat Native library 1.1.32 using APR version 1.5.1.
七月 20, 2017 11:25:10 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
七月 20, 2017 11:25:11 上午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1j 15 Oct 2014)
七月 20, 2017 11:25:11 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
七月 20, 2017 11:25:11 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
七月 20, 2017 11:25:11 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1024 ms
七月 20, 2017 11:25:11 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
七月 20, 2017 11:25:11 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.57
七月 20, 2017 11:25:11 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
七月 20, 2017 11:25:11 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
七月 20, 2017 11:25:11 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 38 ms
七月 20, 2017 11:25:21 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.57\webapps\manager
七月 20, 2017 11:25:21 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\apache-tomcat-7.0.57-windows-x64\apache-tomcat-7.0.57\webapps\manager has finished in 82 ms

支持(0) 反对(0) 小调~ | 园豆:190 (初学一级) | 2017-07-20 11:29
0

用maven 跑呀

一止成文 | 园豆:204 (菜鸟二级) | 2017-07-21 10:04
0

信息: 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_80

你看看 你这报的错 是不是jdk出问题了??

吉吉的城 | 园豆:553 (小虾三级) | 2017-07-22 00:02

对了 你有没有移动tomcat的位置???如果移动了 你需要去改tomcat的配置

支持(0) 反对(0) 吉吉的城 | 园豆:553 (小虾三级) | 2017-07-22 00:09
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册