cannot resolve configuration property - intellij

非 Y 不嫁゛ 提交于 2021-02-11 01:53:57

问题


I created a bare-minimum springboot project and it keeps complaining about the application.properties entries not being resolved. I have tried lowering the sprintboot version from 2.2.5 to lower ones but still the same issue. My intelliJ version is 2019.3.3 (ultimate version).

I do notice that standard spring config properties like below are picked up just fine from application.properties

# Cache resources for a day
spring.resources.cache.period=86400 

Interestingly other projects that worked fine in the past have as well started giving this issue. Any pointers?

来源:https://stackoverflow.com/questions/60516913/cannot-resolve-configuration-property-intellij

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!