一直用的好好的,后来提示内存小于5%,改了一下eclipse的配置,tomcat就再也启动不了了。郁闷ing。
以下是部门错误日志:
!ENTRY com.sysdeo.eclipse.tomcat 4 4 2008-10-06 17:23:29.109
!MESSAGE Impossible to start Tomcat
Check home directory setup in Tomcat preference page/n
!ENTRY com.sysdeo.eclipse.tomcat 4 4 2008-10-06 17:23:29.109
!MESSAGE org.eclipse.core.runtime.CoreException: 鏃犳硶瀵? XML 鏂囨。杩涜瑙f瀽銆?
at org.eclipse.debug.core.DebugPlugin.abort(DebugPlugin.java:1202)
at org.eclipse.debug.core.DebugPlugin.parseDocument(DebugPlugin.java:1178)
at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector.doInitializeFromMemento(AbstractSourceLookupDirector.java:410)
at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector.initializeFromMemento(AbstractSourceLookupDirector.java:546)
at org.eclipse.debug.internal.core.LaunchConfiguration.initializeSourceLocator(LaunchConfiguration.java:523)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:638)
at com.sysdeo.eclipse.tomcat.VMLauncherUtility.runVM(VMLauncherUtility.java:95)
at com.sysdeo.eclipse.tomcat.TomcatBootstrap.runTomcatBootsrap(TomcatBootstrap.java:202)
at com.sysdeo.eclipse.tomcat.TomcatBootstrap.start(TomcatBootstrap.java:95)
at com.sysdeo.eclipse.tomcat.actions.StartActionDelegate.run(StartActionDelegate.java:38)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
……
……
……
在网上找不到相关的解决方法,就在myeclipse中也配置了tomcat,如图:
之后运行的时候,在当前项目上右键选择运行方式----运行……,然后选择(如下):
然后运行就可以了。
小时候家的对面有一座山,山的上面就是蓝天,所以总是幻想着有一天站到山顶用手摸一下蓝天……
posted on 2008-10-08 10:45
丫丫 阅读(4505)
评论(1) 编辑 收藏 所属分类:
Eclipse