两个解决方法

方法一:

右击你的项目—>Build Path–>Configure Build Path–>向ecplise中导入javaweb项目运行时出现“The selection cannot be run on any server”
查看你的tomcat版本,jre是否一致,否则remove

向ecplise中导入javaweb项目运行时出现“The selection cannot be run on any server”
remove后再点击Add Library,依次选择如图所示,最后点Apply and Close

方法二:

右击项目–>properties–>向ecplise中导入javaweb项目运行时出现“The selection cannot be run on any server”
选择与你匹配的tomcat版本

相关文章:

  • 2021-12-05
  • 2021-10-23
  • 2021-04-25
  • 2021-04-30
  • 2021-10-13
  • 2021-08-22
  • 2021-08-31
  • 2021-09-25
猜你喜欢
  • 2022-12-23
  • 2021-12-01
  • 2021-07-26
  • 2022-12-23
  • 2021-05-03
  • 2022-12-23
  • 2021-11-08
相关资源
相似解决方案