`

用MyEclipse启动tomcat 报错Could not find the main class

阅读更多

担当通过MyEclipse来启动tomcat时就出错,弹出窗口提示Could not find the main class

解决方法:

 

解决方案如下:在这个myeclipse 的tomcat配置中的classpath 中添加一个 tomcat7的tomcat-juli.jar包(tomcat7.0中的bin里面带有)

如何配置myeclipse中的tomcat呢?

windows--Preference---MyEclipse--------Servers------tomcat----Tomcat 6.x版本(下拉设置classpath)————enable---tomcat的安装路径-----apple----------ok

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics