码迷,mamicode.com
首页 > 编程语言 > 详细

eclipse启动tomcat错误:A Java Exception has occurred

时间:2014-05-26 08:51:34      阅读:360      评论:0      收藏:0      [点我收藏+]

标签:c   class   code   java   tar   http   

在tomcat bin目录下执行startup.bat可以正常启动,但在eclipse下安装了tomcat插件并且配置tomcat路径后启动且报错:A Java Exception has occurred

bubuko.com,布布扣

解决方法,在eclipse中[window][Preferences]找到[tomcat][JVM Settings],在右边的配置页中找到[Classpath (Before generated classpath)],点击[jar/Zip]在弹出的文件选择框中选择tomcat目录下的bin/tomcat-juli.jar文件,如图:

bubuko.com,布布扣

启动tomcat,错误解决!

2013-11-20 21:53:56 [I]-[INFO] [FileOperationFactory] Read the ci base configuration file success!

2013-11-20 21:53:56 [I]-[INFO] [FileOperationFactory] Read the ci fields configuration file success!

2013-11-20 21:53:56 [I]-[INFO] [FileOperationFactory] Read the database configuration file success!

2013-11-20 21:53:56 [I]-[INFO] [FileOperationFactory] Read the ci relation configuration file success!

2013-11-20 21:53:57 [I]-[INFO] [FileServer] Neo4j Server started.

十一月 20, 2013 9:53:58 下午 org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory D:\tomcat\webapps\mxgraph

十一月 20, 2013 9:53:58 下午 org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory D:\tomcat\webapps\mxGraphExamples

十一月 20, 2013 9:53:58 下午 org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory D:\tomcat\webapps\ROOT

十一月 20, 2013 9:53:58 下午 org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler ["http-nio-8080"]

十一月 20, 2013 9:53:58 下午 org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler ["ajp-nio-8009"]

十一月 20, 2013 9:53:58 下午 org.apache.catalina.startup.Catalina start

INFO: Server startup in 12930 ms

eclipse启动tomcat错误:A Java Exception has occurred,布布扣,bubuko.com

eclipse启动tomcat错误:A Java Exception has occurred

标签:c   class   code   java   tar   http   

原文地址:http://www.cnblogs.com/JAYIT/p/3747445.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!