Eclipse启动Tomcat错误 A Java Exception has occurred

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

解决方法,在Eclipse中window -> Preferences -> tomcat -> JVM Settings,在右边的配置页中找到Classpath (Before generated classpath),点击jar/Zip在弹出的文件选择框中选择tomcat目录下的bin/tomcat-juli.jar文件,启动tomcat,错误解决!

【国内直连ChatGPT 29元起】
国内直连ChatGPT,Plus会员每月29元起,支持最新o1模型探索更多领域,无需注册OpenAI账号。

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
分享

TITLE: Eclipse启动Tomcat错误 A Java Exception has occurred

LINK: https://www.qttc.net/384-eclipse-lanuch-tomcat-error.html

NOTE: 原创内容,转载请注明出自琼台博客