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文件单独打包出来:
把上图的pom.xml文件的
来源地址:https://blog.csdn.net/qq_45882426/article/details/129616476