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,错误解决!


1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

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

时间: 2024-08-11 11:20:55

eclipse启动tomcat错误:A Java Exception has occurred(转)的相关文章

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目录下的bi

eclipse启动tomcat错误解决

clipse启动tomcat报出下面的错误提示: 控制台: 九月 06, 2018 9:01:31 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:servlet' did not find a

Eclipse 启动出现错误 no java virtual machine was found

出现此问题的原因是eclipse找不到javaw.exe的path,打开eclipse.ini文件: -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326 -product org.eclipse.epp.packa

Eclipse启动Tomcat错误:Several ports (8005,8009) required by Tomcat v6.0 Server at localhost are already

解决办法: 1.netstat -aon|findstr 8005 可查看指定端口号使用情况 2.tasklist |findstr 10452 找出占用指定进程Id的程序 3.taskkill /pid 10452 /F 结束该进程

Eclipse 运行弹出A Java Exception has occurred.并报错Exception in thread 的解决方案

这个问题是由较高版本的JDK编译的java class文件试图在较低版本的JVM上运行而产生的错误. 1.解决措施就是保证jvm(java命令)和jdk(javac命令)版本一致.如果是linux版本,则在命令行中分别输入java -version和javac -version命令来查看版本是否一致.我用的是1.7.0_80. 2.版本一致却还是还是解决不了问题,我不是直接在命令行中用javac来编译的,而是用的eclipse的编译器来编译的.因为很多编译器都自带javac,而不是采用操作系统中

安装kettle遇到的一些问题。 a java exception has occurred;

今天在安装kettle的时候出现了几个问题,在这里记录一下: kettle的安装: (1)去官网下载http://kettle.pentaho.org 对于kettle来说的话,解压即安装.下载解压zip包就可以.安装kettle需要配置jdk.对于jdk的配置这里不做赘述. 然后在windows环境下直接点击Spoon.bat 就可以运行.我的在运行的时候就出现了下面的错误 a java exception has occurred 出现这个问题肯定是jdk的问题,我的问题是我安装了两个jdk

tomcat单独启动成功, eclipse启动tomcat报错, 错误一:找不到或无法加载主类 org.apache.catalina.startup.Bootstrap;错误二:端口被占用

针对刚遇到的tomcat单独启动成功,但是在eclipse启动tomcat就报错问题作出总结如下: 软件版本: 1. eclipse版本 ① Luna Service Release 2(4.4.2)    64位 ② Helios Service Release 2   64位 2. tomcat版本 ①apache-tomcat-6.0.14 ②apache-tomcat-6.0.35 3. JDK版本 jdk1.6.0_45 64位 错误详情: 1.  tomcat启动失败,错误提示: j

eclipse启动tomcat弹出错误提示:Tomcat setting should be set in tomcat preference page

eclipse启动tomcat可能会弹出以下错误: 主要原因是tomcat没有配置好,解决方案如下: 第一步:Windows->Preference->Server->Runtime Environment然后选择自己安装的Tomcat版本,然后Next,选择Tomcat安装路径,Finish 第二步:Windows->Preference->Tomcat,选择版本及安装路径,然后Apply,最后保存退出即可 检测:启动tomcat 图解如下:

eclipse 下启动tomcat错误

启用tomcat时报错. FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113) ERROR: transport error 202: gethostbyname: unknown host ["transport.c",L41] ERROR: JDWP Transport dt_socket failed to initialize, TRA