Spring-Boot application does not build properly

Exxul :

my problem is when I trying to run my spring-boot project via STS or simple JavaApplication the changes after the last maven build are not built.

I'm tried several methods but, if I don't use maven build the project changes are not rebuilt.

Do you have any tips, what's wrong?

In the Project menu Build Automatically is selected. And the main method is annotated with @SpringBootApplication

(The hot-swap is not working too for me.)

Exxul :

I found the solution. In the .project file for my project I simply added a javabuilder build command. After that STS works perfectly and rebuilds the project before start. I think this problem occurs because I created a maven project, instead of creating a java project and convert it to a maven project.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=238802&siteId=1