两个途径 解决:

方法1:经过搜索以后发现,主要原因可能就是MyEclipse和Tomcat的版本不兼容问题。其实解决方法也很简单,在Tomca 6.x的配置界面中,在"Append to classpath"中选择"Add JAR/ZIP",定位到%Tomcat_HOME%\bin\tomcat-juli.jar,然后再启动Tomcat,就没有问题了。如下图所示:

1.再启动tomcat时报 Could not find the main class错误

方法2:修改jdk 再启动tomcat时报 Could not find the main class错误

相关文章:

  • 2021-06-03
  • 2021-09-15
  • 2021-08-02
  • 2021-08-15
  • 2022-01-20
  • 2022-12-23
  • 2021-07-01
  • 2022-12-23
猜你喜欢
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2021-09-24
相关资源
相似解决方案