Posts

Showing posts with the label intellij

Change Port on a Spring Boot Application when using intelliJ

Image
Change Port on a Spring Boot Application when using intelliJ  Two ways to change the port that the embedded Tomcat is using in a Spring Boot Application. The first way is to modify the application properties in the resources folder: Update application props in Spring Boot Application There are a couple issues with this approach.  You might only want this port change in your local environment and if you check it in by accident you might break things. Alternatively, you can use a command line parameter. Go to Run -> Edit Configurations -> VM options Then enter in the following argument: -Dserver.port=8090 Then click apply and OK and attempt to run the application again. Update port using VM option

Tips for Migrating from Eclipse to IntelliJ - Re-learning shortcuts and other Tips

Image
Migrating from Eclipse to IntelliJ:  Re-learning shortcuts and other Tips As a long-time Eclipse user(Spring Tools Suite and Groovy and Grails Tools Suite), the transition to using IntelliJ was jarring in many ways.  Keyboard shortcuts are different, the layout is different and the way you do things is different. It is worth it to go through with the transition.  Auto-complete and searching is better.  Logs and consoles are better.  The tooling is better.  There are plenty of articles out there that highlight the changes.  Most importantly though is that it is does everything you need well and is very fast. Here are some things that will help with your transition: How to Change the JDK Setup the JDK locations Here you will want to setup the location of the Java SDKs you have installed. Ctrl+Shift+Alt+S -> Platform Settings -> SDKs:  Change JDK Update the JDK in the IntelliJ IDE Setup the Project SDK T...