I am running spring-boot on an embedded tomcat server through maven with mvn clean install spring-boot:run. But every time I run it I get this error:
mvn clean install spring-boot:run
I too faced a similar issue when running from IntelliJ. This worked for me : Build -> Rebuild Project.