Failed to parse configuration class [com.topscomm.das.ServerApplication]; nested exception is java.io.FileNotFoundException: class path resource [application-point.properties] cannot be opened because it does not exist
有些帖子说的是配置文件映射问题,我这里配置文件映射都弄好了,但是 还是有问题的情况
去看pom.xml文件里是不是有一行用来打包的配置没有注释掉,打包时有这行配置才能把程序的config文件单独打包出来:
<targetPath>${project.build.directory}/config</targetPath>

把上图的pom.xml文件的<build>标签下的红框内容注释了