用MyEclipse启动tomcat 报错Could not find the main class
2011-07-07 19:48
621 查看
我出现的问题是当单独启动tomcat服务器时,能正常运行。担当通过MyEclipse来启动tomcat时就出错。百度一些网站上说是什么高版本的不能去编译低版本的,反正试试也没解决问题,最后在javaEye网站上的一篇文章上找到了解决方案。在这里顶一下javaeye
解决方案如下:在这个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
就可以了!!!
在MyEclipse中建立jsp页面
在工程名下的WebRoot文件夹,单击右键new ---jsp 在file name文件框中出入jsp文件的文件名,就ok!
上面是真金实践,困扰了好久终得解决.
解决方案如下:在这个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
就可以了!!!
在MyEclipse中建立jsp页面
在工程名下的WebRoot文件夹,单击右键new ---jsp 在file name文件框中出入jsp文件的文件名,就ok!
上面是真金实践,困扰了好久终得解决.
相关文章推荐
- 用MyEclipse启动tomcat 报错Could not find the main class
- 用MyEclipse启动tomcat 报错Could not find the main class
- 用MyEclipse启动tomcat 报错Could not find the main class
- [Web开发笔记][3]MyEclipse 8.0启动Tomcat 7报错:Could not find the main class: org.apache.catalina.startup.Boostrap.
- 启动Tomcat报错:Could not find the main class
- [Web开发笔记][3]MyEclipse 8.0启动Tomcat 7报错:Could not find the main class: org.apache.catalina.startup.Boostrap.
- myeclipse启动tomcat 出现could not find the main class Program will exit
- [Web开发笔记][3]MyEclipse 8.0启动Tomcat 7报错:Could not find the main class: org.apache.catalina.startup……
- linux 启动tomcat报错Error: Could not find or load main class org.apache.catalina.startup.Bootstrap等
- 启动tomcat的时候报错信息如下:. Could not find the main class: org.apache.catalina.startup.Bootstrap. Program wi
- eclipse下配置tomcat错误导致启动tomcat报错,Could not find main class
- Tomcat7.0 start Could not find the main class: org.apache.catalina.startup.Bootstrap.
- MyEclipse导入项目错误:Could not find the main class.Program will exit.
- 【java】报错could not find the main class,program will
- 【java】报错could not find the main class,program will
- tomcat启动报错,logs/catalina.out:Could not find or load main class org.apache.catalina.startup.Bootstr
- myeclipse出现Could not find the main class原因分析
- tomcat启动报错,logs/catalina.out:Could not find or load main class org.apache.catalina.startup.Bootstr
- 【解决】Maven myeclipse出现Could not find the main class
- Tomcat7.0 start Could not find the main class: org.apache.catalina.startup.Bootstrap.