There are various reason for this issue to occur I'm showing what I had come across.
For me it was due to packaging as pom
I had something in my pom.xml as below
<packaging>pom</packaging>
So if you have similar thing, then :
1. Remove it for spring-boot App.
2. Delete target folder or mvn clean.
3. then mvn install.
4. Watch your property under target/classes/application.properties file.
No comments:
Post a Comment