eclipse 搭建tomcat无法启动,报错java.lang.NoClassDefFoundError 以下是eclipse的log日志,在线等。 10
java.lang.RuntimeException:java.lang.NoClassDefFoundErroratorg.eclipse.wst.server.cor...
java.lang.RuntimeException: java.lang.NoClassDefFoundError
at org.eclipse.wst.server.core.internal.Server.stopImpl2(Server.java:3153)
at org.eclipse.wst.server.core.internal.Server.stopImpl(Server.java:3114)
at org.eclipse.wst.server.core.internal.Server$StopJob.run(Server.java:329)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NoClassDefFoundError
at com.ibm.icu.util.TimeZone.getDefault(TimeZone.java:804)
at com.ibm.icu.util.Calendar.getInstanceInternal(Calendar.java:1630)
at com.ibm.icu.util.Calendar.getInstance(Calendar.java:1594)
at com.ibm.icu.text.DateFormat.get(DateFormat.java:1288)
at com.ibm.icu.text.DateFormat.getDateTimeInstance(DateFormat.java:1078)
at org.eclipse.jdt.internal.launching.StandardVMRunner.renderProcessLabel(StandardVMRunner.java:75)
at org.eclipse.jdt.internal.launching.StandardVMRunner.run(StandardVMRunner.java:328)
at org.eclipse.jst.server.tomcat.core.internal.TomcatLaunchConfigurationDelegate.launch(TomcatLaunchConfigurationDelegate.java:98)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:696)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBehaviour.stop(TomcatServerBehaviour.java:530)
at org.eclipse.wst.server.core.internal.Server.stopImpl2(Server.java:3147)
... 3 more 展开
at org.eclipse.wst.server.core.internal.Server.stopImpl2(Server.java:3153)
at org.eclipse.wst.server.core.internal.Server.stopImpl(Server.java:3114)
at org.eclipse.wst.server.core.internal.Server$StopJob.run(Server.java:329)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NoClassDefFoundError
at com.ibm.icu.util.TimeZone.getDefault(TimeZone.java:804)
at com.ibm.icu.util.Calendar.getInstanceInternal(Calendar.java:1630)
at com.ibm.icu.util.Calendar.getInstance(Calendar.java:1594)
at com.ibm.icu.text.DateFormat.get(DateFormat.java:1288)
at com.ibm.icu.text.DateFormat.getDateTimeInstance(DateFormat.java:1078)
at org.eclipse.jdt.internal.launching.StandardVMRunner.renderProcessLabel(StandardVMRunner.java:75)
at org.eclipse.jdt.internal.launching.StandardVMRunner.run(StandardVMRunner.java:328)
at org.eclipse.jst.server.tomcat.core.internal.TomcatLaunchConfigurationDelegate.launch(TomcatLaunchConfigurationDelegate.java:98)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:696)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBehaviour.stop(TomcatServerBehaviour.java:530)
at org.eclipse.wst.server.core.internal.Server.stopImpl2(Server.java:3147)
... 3 more 展开
2个回答
展开全部
如果你电脑上面安装的tomcat能单独运行的话。(cmd 命令窗口输入命令 startup能正常运行,)
windows------------------->preferences--------------->在查询栏输入tomcat---->选择你电脑上安装的tomcat版本。然后选择你安装的路径。确定,将sever设置为enable
启动tomcat的时候,需要选择你安装的那个版本。
windows------------------->preferences--------------->在查询栏输入tomcat---->选择你电脑上安装的tomcat版本。然后选择你安装的路径。确定,将sever设置为enable
启动tomcat的时候,需要选择你安装的那个版本。
追问
我的tomcat是免安装版的,就只有一个文件夹。
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询