版权声明:本文为博主原创文章,转载请注明出处。 https://blog.csdn.net/m0_37520980/article/details/80194361
在pom.xml中出现警告如下:
This expression evaluates to 4.2.4.RELEASE The property is defined in cn.itcast:web_parent:0.0.1-SNAPSHOT
这句话:This expression evaluates to 4.2.4.RELEASE The property is defined in cn.itcast:web_parent:0.0.1-SNAPSHOT
意思大概是:此表达式的计算结果为4.2.4.RELEASE该属性在cn.itcast中定义:web_parent:0.0.1-SNAPSHOT
原来是重复定义了版本,知道原因了,那就好弄了。我这个工程是Spring Cloud的应用,原来在父的pom文件中已经定义了,果断删除当前依赖的version,整个世界干净了。
这个问题说明一下!主要是对警告有洁癖的,当然开发中无警告也是一个很好习惯,至少我是这样认为的.