Setup Dev Envrionment fpr Tomcat9, Spring MVC and Gradle
Answered
Hey Guys
I'm comming to you because I'm quite frustrated with IntelliJ and Spring MVC development. The desired setup is as follows:
- A vagrant VM running tomcat9 and having an "internal network" (IP 192.168.56.101), having the /opt/tomcat path shared via SAMBA
- My normal dev-machine (either macOS or Windows) with local installed IntelliJ Idea Ultimate
- My project, hosted on some git-server, using gradle and spring MVC
When I then hit the "Run"-Button, I expect IntelliJ idea to copy my war-file over to the tomcat server, tell the server to do whatever it needs to do and then open the browser window for me. However, I only managed to get the copying running.
Are there any directions to get this constellation running, or do you have any tips / screenshots for me?
Any help appreciated :)
Regards
Please sign in to leave a comment.
Remote Tomcat configuration should work, see https://blog.trifork.com/2014/07/14/how-to-remotely-debug-application-running-on-tomcat-from-within-intellij-idea/