出现了好几次这个问题,每次解决之后,每次都会忘记怎么解决的,下定决心要把它解决办法写下来。

双击services, 找到Server Options 点击"Public module contexts to separate XML files" 跟我图中一样即可,就可以解决这个问题,如果解决不了我建议你移除项目再重现加入,就可以解决。下面还有另一种根本上解决的方法。
Setting property ‘source‘ to ‘org.eclipse.jst.jee.server: ‘ did not find a matching property.

第二种方法:

找到这个Servers这个项目打开,点开conrext.xml,
Setting property ‘source‘ to ‘org.eclipse.jst.jee.server: ‘ did not find a matching property.

默认情况下,server.xml的 Context元素不支持名称为source的属性,所以会发出警告。
之后把source="org.eclipse.jst.jee.server:"的内容去掉保存即可。

相关文章:

  • 2021-09-20
  • 2021-12-05
  • 2021-09-29
  • 2021-08-07
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-07
  • 2021-06-17
  • 2021-09-28
  • 2022-01-07
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案