项目部署到tomcat后控制台出现警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'sourc

web 项目部署到 tomcat 8 以后 Console 出现以下警告 :html

  警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:xxx' did not find a matching property.web

参考下面两个博客修改以后 警告变成下面:tomcat

( 参考博客:https://blog.csdn.net/foreversilent/article/details/11147847                           https://www.cnblogs.com/guodefu909/p/5964732.html     )eclipse

  警告 [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:xxx' did not find a matching property.ui

   看警告信息 加上 想起以前上课时 老师解决问题思路:因而就从部署的项目名和本身访问的项目名上找问题:.net

   先查看了pom.xml发现build标签下finalName出现了以前的项目名(因为不太清楚各个参数意思因而就又参考了博客:https://lixh1986.iteye.com/blog/2382352 )因而就将其改为欲访问的项目名,从新部署访问仍存在警告和404server

    又看了看项目Properties下边的Web Project Settings发现项目名仍是以前的项目名,改掉再访问,警告仍然存在可是404不存在,问题解决!xml

相关文章
相关标签/搜索