I'm using IntelliJ Ultimate to develop a SpringBoot App ( maven). When i hit run, tomcat still serves a old vaadin project. How can i remove it? I already cleared my browsers cache, tried to load the side in a private browser window and removed the project from the tomcats webapp folder
CodePudding user response:
I think you should try these things:
Change the port number in the application.properties file.
server.port = [port number]
- Edit the project's configuration and explicitly add the @SpringBootApplication containing class or just go to the file and run the main() method.
CodePudding user response:
Few things can be checked.
- If you are using your local tomcat then verify the tomcat if that is the one you are actually using. Better remove the tomcat and import a fresh one.
or
- close the project from IntelliJ and reimport.
- clean build maven project and run again.


