Setting property 'source' to 'org.eclipse.jst.jee.server:XXX' did not find a matching property解决办法

运行项目时不读取文件资源,导致项目无法访问解决办法

今早在启动项目时发现tomcat不读取项目资源导致启动后无法访问主页,具体展示如下

Setting property 'source' to 'org.eclipse.jst.jee.server:XXX' did not find a matching property解决办法

经过查询发现在tomcat目录中存在一个backup的文件夹,里面有一个congtext.xml文件,将这个文件夹删除后就能读取相关资源了.相关文件夹内容如下:

Setting property 'source' to 'org.eclipse.jst.jee.server:XXX' did not find a matching property解决办法Setting property 'source' to 'org.eclipse.jst.jee.server:XXX' did not find a matching property解决办法