zoukankan      html  css  js  c++  java
  • 项目部署到tomcat后控制台出现警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:xxx' did not find a matching property.web浏览器出现404

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

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

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

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

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

       看警告信息 加上 想起之前上课时 老师解决问题思路:于是就从部署的项目名和自己访问的项目名上找问题:

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

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

  • 相关阅读:
    Swift 扩展
    Swift 类型转换
    Swift 自动引用计数(ARC)
    Swift 可选链
    Swift 析构过程
    Swift 构造过程
    Swift 继承
    Swift 下标脚本
    Swift 方法
    Swift 属性
  • 原文地址:https://www.cnblogs.com/liupengjuan/p/10817812.html
Copyright © 2011-2022 走看看