Cannot resolve configuration property 'dubbo.application.name'

1 问题描述

idea application.properties 文件报警告 不能解析到

Cannot resolve configuration property 'dubbo.application.name'

2  解决方案 

我之前引入的是这个依赖  

       <!--导入dubbostarer-->
        <dependency>
            <groupId>com.alibaba.boot</groupId>
            <artifactId>dubbo-spring-boot-starter</artifactId>
            <version>0.2.0</version>
        </dependency>

引入这个依赖后正常 注意除了 版本不一样外  groupId 也有区别

        <!--导入dubbostarer-->
        <dependency>
            <groupId>org.apache.dubbo</groupId>
            <artifactId>dubbo-spring-boot-starter</artifactId>
            <version>2.7.12</version>
        </dependency>

如果还不行 就去版本库里面换,,,,

https://mvnrepository.com/artifact/org.apache.dubbo/dubbo-spring-boot-starter

3  success

Cannot resolve configuration property 'dubbo.application.name'

 

上一篇:1.Starting with Spring Initialize pom.xml文件初始化


下一篇:winform全局异常处理