Upgrading to Grails 3.2.0 from Grails 2.3.7 with Spring Security and Deployment to Tomcat7
In this post I detail how to upgrade from grails 2.3.7 to grails 3.2.0 with spring security and Deploy a war file to Tomcat7. Setting Up Development Environment Download Grails 3.2.0 from here . Download Oracle JDK 8 Update 101. Optionally download Gradle from here (other wise for building war file you will need to use grails gradle war). Make sure your JAVA_HOME and GRAILS_HOME are set properly before continuing. Setting Up Production Environment (Tomcat7) Download Oracle JRE 8 Update 101 Ensure Java version is Java 8 Update 101 if not use this command on ubuntu sudo update - alternatives -- config java Modify the JAVA_HOME setting in /etc/default/tomcat7 to the java 8 path as below JAVA_HOME=/usr/lib/jvm/java-8-oracle/ Migrating Grails 2 application files to Grails 3 The first step in migrating to Grails 3 is to make a new grails 3 app done by the following: grails create-app YOUR_APP_NAME This will create a project structure for your g...