在做javaweb开发的时候遇到一个超链接跳转到servlet时,找不到请求,问题描述 [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to ‘org.eclipse.jst.jee.server:aa’ did not find a matching property

tomcat运行报错 [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to ‘org

在网上联系找了两天也没有什么好的办法,有的人说是tomcat里面的context不能匹配source之类的,或者就是说tomcat路径安装,还有就是说:关闭tomcat,双击eclipse下tomcat服务器,在出来的Tomcat server at localhost页面中找到server options选项,选中其中的选项”Publish modual contexts to separat XML files“,ctr+s,启动tomcat。等等,我一一试完了都没有解决这个我的问题。最后我静下心来,细细一想,

我是通过超链接来跳转到servlet界面,在这个过程中这个请求不能被发现,那就说明tomcat不能找到servlet

。那可以试试看在xml中配置一下servlet,可能就好了:

tomcat运行报错 [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to ‘org

果不其然,在配置完之后问题迎刃而解:

tomcat运行报错 [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to ‘org

希望对还没有解决问题的小伙伴们有帮助(*^▽^*)(*^▽^*)

相关文章:

  • 2022-02-21
  • 2022-12-23
  • 2021-04-03
  • 2021-06-25
  • 2022-02-03
  • 2021-06-16
猜你喜欢
  • 2021-09-10
  • 2021-09-01
  • 2021-07-02
  • 2021-06-17
相关资源
相似解决方案