Grails Example
Home
Course Outline
Code Examples
Magazine
About/Contact
Privacy Policy
Updated for Grails 2.3.x Video #4: In this Grails Example, we will set up our development environment on an OS X environment.
This first video shows you how to install Grails and Java on OS X. To install Grails, you will need a Java Developers Kit (www.apple.com), and the Grails libraries (www.grails.org). This video will show you how to download and install both. We will be using the Groovy Environment Manager (GVM) to easily install the latest version of Grails.
Subscribe to Grails Academy Magazine .
Video #5: In the second video, you learn how to install an Integrated Development Environment (IDE) based on Eclipse called the Groovy/Grails Tool Suite. This tool is pre-configured for Groovy and Grails to give you features such as syntax highlighting and code completion. The video shows you how to install it and configure it for the Grails 2.1.1 environment that you installed in the previous video.
More
StumbleUpon
Rishabh Sanghvi on November 9, 2014 at 3:30 am said: Superb lessons really glad i found your link and yours video gave solution to all my problems Reply ↓
Superb lessons really glad i found your link and yours video gave solution to all my problems
nicolas G on August 12, 2014 at 7:12 am said: I remember, back on my first time on osx / linux, having a hard time figuring out how bash_profile or bashrc or profile was working… NOW, I know how it work, and I think it is very important to know HOW and HOW it work… NIce tutorial, cant wait to make some development with Grails thanks Reply ↓
I remember, back on my first time on osx / linux, having a hard time figuring out how bash_profile or bashrc or profile was working…
NOW, I know how it work, and I think it is very important to know HOW and HOW it work…
NIce tutorial, cant wait to make some development with Grails
thanks
Andrew Klump on July 18, 2014 at 8:51 am said: Nice vid, though a bit long/unnecessary for anyone who’s done any kind of programming before. Here are the Cliff’s notes: Install a JDK $ java -version # make sure it works Download/install GVM: $ curl -s get.gvmtool.net | bash $ source ~/.gvm/bin/gvm-init.sh Install Grails using GVM: $ gvm install grails $ grails -version # make sure it works Check environment for GRAILS_HOME and JAVA_HOME $ printenv | grep HOME Make a test project: $ mkdir grails; cd grails $ grails create-app test-proj Run the test app: $ grails run-app Should result in: “Server running. Browse to http://localhost:8080/test-proj “ Reply ↓
Nice vid, though a bit long/unnecessary for anyone who’s done any kind of programming before. Here are the Cliff’s notes:
Install a JDK $ java -version # make sure it works
Download/install GVM: $ curl -s get.gvmtool.net | bash $ source ~/.gvm/bin/gvm-init.sh
Install Grails using GVM: $ gvm install grails $ grails -version # make sure it works
Check environment for GRAILS_HOME and JAVA_HOME $ printenv | grep HOME
Make a test project: $ mkdir grails; cd grails $ grails create-app test-proj
Run the test app: $ grails run-app
Should result in: “Server running. Browse to http://localhost:8080/test-proj “
Gem on May 24, 2014 at 9:37 am said: Great tutorial. In case it’s helpful to others, thought I’d comment about a couple of issues I encountered on Mavericks, Grails v2.4.0, Java v1.7.0_51 when building the app in GGTS. First I got a mismatch error about the project level being different from the workspace level. This can be fixed by right-clicking on the project folder, then Properties > Groovy compiler and selecting the correct compiler level (21, in my case). Second error: “objc[8368]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.” This came up when I ran the app via command line, but it proceeded to launch without causing any more problems so I thought nothing of it at the time. According to a few posts on StackOverflow it’s a bug in the JDK that Oracle are taking their time in fixing. So, in GGTS, you have to tell it to proceed despite this error and just put up with its annoying persistence Reply ↓ mkelly on May 24, 2014 at 10:22 am said: Thanks for those great tips! Reply ↓
Great tutorial. In case it’s helpful to others, thought I’d comment about a couple of issues I encountered on Mavericks, Grails v2.4.0, Java v1.7.0_51 when building the app in GGTS.
First I got a mismatch error about the project level being different from the workspace level. This can be fixed by right-clicking on the project folder, then Properties > Groovy compiler and selecting the correct compiler level (21, in my case).
Second error: “objc[8368]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.” This came up when I ran the app via command line, but it proceeded to launch without causing any more problems so I thought nothing of it at the time. According to a few posts on StackOverflow it’s a bug in the JDK that Oracle are taking their time in fixing. So, in GGTS, you have to tell it to proceed despite this error and just put up with its annoying persistence
mkelly on May 24, 2014 at 10:22 am said: Thanks for those great tips! Reply ↓
Thanks for those great tips!
Brad Shantz on May 1, 2014 at 9:50 am said: Hey, Mike, I have installed all the latest components on my Mac as per the videos, Except when running GVM to install Grails, it doesn’t put it in my grails dir, it puts it in a .gvm dir off my root. I didn’t think that was a problem as, I just pointed my grails environment in GGTS to point to that installation. When I try to run the test app, I get this: An internal error occurred during: “Launching test: run-app”. java.lang.NullPointerException —– I’m running: Mac OSX 10.9.2 JAVA 1.6.0_32 Grails 2.3.8 GGTS 3.5.0 Any thoughts? Checking my environment variables, it seems that everything is “correct”, but I’m a bit stuck. Thanx, Brad Reply ↓ Brad Shantz on May 1, 2014 at 10:03 am said: Followup – I created a Java project in GGTS, did a simple hello world app, and it all came up just fine. Still can’t get my grails project to work. Thanks. Reply ↓ mkelly on May 2, 2014 at 7:42 am said: Hi Brad: I haven’t done an OS X install with all the new tools yet, but a good way to check if GVM set everything up correctly is to open a terminal, and set your current directory to somewhere that is not where Grails or Java is installed. Then execute the following: java -version javac -version grails -version if all three come back without errors, then your jvm, jdk, and grails environments are correct. If GGTS allowed you to create a new Grails project, I’m thinking everything is set up correctly there as well. It may be a new issue with either Grails or GGTS. There is a lot of good discussion on stackoverflow.com, and someone may have come across this as well. I’ll try this on a virtual OS X machine and see how it works for me. ~Mike Reply ↓ Brad Shantz on May 2, 2014 at 12:27 pm said: Yep. Already tried that, and the version calls all came back correctly. I’ll check on StackOverflow. It’s weird. I’ve never seen it before. This was a fresh install after a hard drive failure. Something isn’t “clean”, but I’m not sure what. I’ll keep looking. Reply ↓
Hey, Mike,
I have installed all the latest components on my Mac as per the videos, Except when running GVM to install Grails, it doesn’t put it in my grails dir, it puts it in a .gvm dir off my root. I didn’t think that was a problem as, I just pointed my grails environment in GGTS to point to that installation.
When I try to run the test app, I get this:
An internal error occurred during: “Launching test: run-app”. java.lang.NullPointerException —– I’m running: Mac OSX 10.9.2 JAVA 1.6.0_32 Grails 2.3.8 GGTS 3.5.0
Any thoughts? Checking my environment variables, it seems that everything is “correct”, but I’m a bit stuck.
Thanx,
Brad
Brad Shantz on May 1, 2014 at 10:03 am said: Followup – I created a Java project in GGTS, did a simple hello world app, and it all came up just fine. Still can’t get my grails project to work. Thanks. Reply ↓ mkelly on May 2, 2014 at 7:42 am said: Hi Brad: I haven’t done an OS X install with all the new tools yet, but a good way to check if GVM set everything up correctly is to open a terminal, and set your current directory to somewhere that is not where Grails or Java is installed. Then execute the following: java -version javac -version grails -version if all three come back without errors, then your jvm, jdk, and grails environments are correct. If GGTS allowed you to create a new Grails project, I’m thinking everything is set up correctly there as well. It may be a new issue with either Grails or GGTS. There is a lot of good discussion on stackoverflow.com, and someone may have come across this as well. I’ll try this on a virtual OS X machine and see how it works for me. ~Mike Reply ↓ Brad Shantz on May 2, 2014 at 12:27 pm said: Yep. Already tried that, and the version calls all came back correctly. I’ll check on StackOverflow. It’s weird. I’ve never seen it before. This was a fresh install after a hard drive failure. Something isn’t “clean”, but I’m not sure what. I’ll keep looking. Reply ↓
Followup – I created a Java project in GGTS, did a simple hello world app, and it all came up just fine. Still can’t get my grails project to work. Thanks.
mkelly on May 2, 2014 at 7:42 am said: Hi Brad: I haven’t done an OS X install with all the new tools yet, but a good way to check if GVM set everything up correctly is to open a terminal, and set your current directory to somewhere that is not where Grails or Java is installed. Then execute the following: java -version javac -version grails -version if all three come back without errors, then your jvm, jdk, and grails environments are correct. If GGTS allowed you to create a new Grails project, I’m thinking everything is set up correctly there as well. It may be a new issue with either Grails or GGTS. There is a lot of good discussion on stackoverflow.com, and someone may have come across this as well. I’ll try this on a virtual OS X machine and see how it works for me. ~Mike Reply ↓ Brad Shantz on May 2, 2014 at 12:27 pm said: Yep. Already tried that, and the version calls all came back correctly. I’ll check on StackOverflow. It’s weird. I’ve never seen it before. This was a fresh install after a hard drive failure. Something isn’t “clean”, but I’m not sure what. I’ll keep looking. Reply ↓
Hi Brad: I haven’t done an OS X install with all the new tools yet, but a good way to check if GVM set everything up correctly is to open a terminal, and set your current directory to somewhere that is not where Grails or Java is installed. Then execute the following: java -version javac -version grails -version
if all three come back without errors, then your jvm, jdk, and grails environments are correct. If GGTS allowed you to create a new Grails project, I’m thinking everything is set up correctly there as well. It may be a new issue with either Grails or GGTS. There is a lot of good discussion on stackoverflow.com, and someone may have come across this as well. I’ll try this on a virtual OS X machine and see how it works for me.
~Mike
Brad Shantz on May 2, 2014 at 12:27 pm said: Yep. Already tried that, and the version calls all came back correctly. I’ll check on StackOverflow. It’s weird. I’ve never seen it before. This was a fresh install after a hard drive failure. Something isn’t “clean”, but I’m not sure what. I’ll keep looking. Reply ↓
Yep. Already tried that, and the version calls all came back correctly. I’ll check on StackOverflow. It’s weird. I’ve never seen it before. This was a fresh install after a hard drive failure. Something isn’t “clean”, but I’m not sure what. I’ll keep looking.
okcomputer on March 31, 2014 at 12:53 am said: Any advice on this particular error? | Compiling 143 source files. | Error Compilation error: startup failed: /Users/okcomputer/grailsapps/demo/target/work/plugins/database-migration-1.3.8/grails-app/controllers/grails/plugin/databasemigration/DbdocController.groovy: -1: Repetitive method name/signature for method ‘java.lang.Object withFormat(groovy.lang.Closure)’ in class ‘grails.plugin.databasemigration.DbdocController’. @ line -1, column -1. /Users/okcomputer/grailsapps/demo/target/work/plugins/database-migration-1.3.8/grails-app/controllers/grails/plugin/databasemigration/DbdocController.groovy: -1: Repetitive method name/signature for method ‘java.lang.Object withFormat(groovy.lang.Closure)’ in class ‘grails.plugin.databasemigration.DbdocController’. @ line -1, column -1. 2 errors okcomputer@thegibson:~/grailsapps/demo$ As far as i can tell its some kind of DB error, but this is my first attempt installing grails. Also, this is Java8 on osx10.9, should I revert to java 7 or 6 and try again? Thanks Reply ↓ mkelly on March 31, 2014 at 9:46 am said: Yes, the first thing I would do is downgrade Java. I have had may problems with incompatible Java versions on OSX. I have been most successful with the version that auto-installs when you enter a Java command at the terminal. If the auto install no longer triggers, get the most current version from the support page on apple.com. Reply ↓ okcomputer on March 31, 2014 at 1:51 pm said: Thanks for the reply, I’ll give that a shot. Reply ↓ okcomputer on March 31, 2014 at 7:10 pm said: It took a while to completely wipe all previous traces of java from osx, but once I got rid of it and installed 1.7 I was able to spin up the demo app. Thanks a lot! Reply ↓ mkelly on April 1, 2014 at 8:54 am said: Great, glad to hear you are on your way. mkelly on April 17, 2014 at 9:30 pm said: Just another follow-up on this. Grails 2.3 will not run under Java 8 on any platform. Java 8 will not work with Grails until 2.4 is released. ~Mike Reply ↓
Any advice on this particular error?
| Compiling 143 source files. | Error Compilation error: startup failed: /Users/okcomputer/grailsapps/demo/target/work/plugins/database-migration-1.3.8/grails-app/controllers/grails/plugin/databasemigration/DbdocController.groovy: -1: Repetitive method name/signature for method ‘java.lang.Object withFormat(groovy.lang.Closure)’ in class ‘grails.plugin.databasemigration.DbdocController’. @ line -1, column -1. /Users/okcomputer/grailsapps/demo/target/work/plugins/database-migration-1.3.8/grails-app/controllers/grails/plugin/databasemigration/DbdocController.groovy: -1: Repetitive method name/signature for method ‘java.lang.Object withFormat(groovy.lang.Closure)’ in class ‘grails.plugin.databasemigration.DbdocController’. @ line -1, column -1. 2 errors okcomputer@thegibson:~/grailsapps/demo$
As far as i can tell its some kind of DB error, but this is my first attempt installing grails. Also, this is Java8 on osx10.9, should I revert to java 7 or 6 and try again? Thanks
mkelly on March 31, 2014 at 9:46 am said: Yes, the first thing I would do is downgrade Java. I have had may problems with incompatible Java versions on OSX. I have been most successful with the version that auto-installs when you enter a Java command at the terminal. If the auto install no longer triggers, get the most current version from the support page on apple.com. Reply ↓ okcomputer on March 31, 2014 at 1:51 pm said: Thanks for the reply, I’ll give that a shot. Reply ↓ okcomputer on March 31, 2014 at 7:10 pm said: It took a while to completely wipe all previous traces of java from osx, but once I got rid of it and installed 1.7 I was able to spin up the demo app. Thanks a lot! Reply ↓ mkelly on April 1, 2014 at 8:54 am said: Great, glad to hear you are on your way.
Yes, the first thing I would do is downgrade Java. I have had may problems with incompatible Java versions on OSX. I have been most successful with the version that auto-installs when you enter a Java command at the terminal. If the auto install no longer triggers, get the most current version from the support page on apple.com.
okcomputer on March 31, 2014 at 1:51 pm said: Thanks for the reply, I’ll give that a shot. Reply ↓ okcomputer on March 31, 2014 at 7:10 pm said: It took a while to completely wipe all previous traces of java from osx, but once I got rid of it and installed 1.7 I was able to spin up the demo app. Thanks a lot! Reply ↓ mkelly on April 1, 2014 at 8:54 am said: Great, glad to hear you are on your way.
Thanks for the reply, I’ll give that a shot.
okcomputer on March 31, 2014 at 7:10 pm said: It took a while to completely wipe all previous traces of java from osx, but once I got rid of it and installed 1.7 I was able to spin up the demo app. Thanks a lot! Reply ↓ mkelly on April 1, 2014 at 8:54 am said: Great, glad to hear you are on your way.
It took a while to completely wipe all previous traces of java from osx, but once I got rid of it and installed 1.7 I was able to spin up the demo app. Thanks a lot!
mkelly on April 1, 2014 at 8:54 am said: Great, glad to hear you are on your way.
Great, glad to hear you are on your way.
mkelly on April 17, 2014 at 9:30 pm said: Just another follow-up on this. Grails 2.3 will not run under Java 8 on any platform. Java 8 will not work with Grails until 2.4 is released. ~Mike Reply ↓
Just another follow-up on this. Grails 2.3 will not run under Java 8 on any platform. Java 8 will not work with Grails until 2.4 is released. ~Mike
Alice on March 3, 2014 at 12:12 pm said: When I try to configure Grails installation under users/username/grails/grails_app I received the message: Specified directory does not appear to be a Grails installation. Reply ↓ mkelly on March 4, 2014 at 7:40 am said: Alice – which Grails command caused you to get that error? It looks like the create-app command did not succeed as it is not seeing a grails application in that subdirectory. Reply ↓ Alice on March 6, 2014 at 1:54 pm said: I had to install an older version of Grails (2.2.4) together with GGTS and then it worked. Thanks! Reply ↓
When I try to configure Grails installation under users/username/grails/grails_app I received the message: Specified directory does not appear to be a Grails installation.
mkelly on March 4, 2014 at 7:40 am said: Alice – which Grails command caused you to get that error? It looks like the create-app command did not succeed as it is not seeing a grails application in that subdirectory. Reply ↓ Alice on March 6, 2014 at 1:54 pm said: I had to install an older version of Grails (2.2.4) together with GGTS and then it worked. Thanks! Reply ↓
Alice – which Grails command caused you to get that error? It looks like the create-app command did not succeed as it is not seeing a grails application in that subdirectory.
Alice on March 6, 2014 at 1:54 pm said: I had to install an older version of Grails (2.2.4) together with GGTS and then it worked. Thanks! Reply ↓
I had to install an older version of Grails (2.2.4) together with GGTS and then it worked. Thanks!
Tom Stewart on February 13, 2014 at 3:56 pm said: Thank you for the excellent video on installing Grails on OS X. I viewed the video to verify my grails installation which is exactly the same as shown, except I am using Grails 2.3.5. I am baffled because when I run the demo application, I see the “Error generating web.xml file” message rather than the “Server running” as shown in the video. I have searched the web and found nothing helpful. Is this error message due to a configuration issue? Or is it a Tomcat bug, as the stack trace shows… org.apache.xml.serializer.utils.WrappedRuntimeException: org.apache.xml.serializer.ToXMLSAXHandler cannot be cast to org.apache.xml.serializer.SerializationHandler Or, could it be that my MacBook with 4Gb memory is insufficient to run Grails? I am clueless….Thanks. Reply ↓ mkelly on February 14, 2014 at 8:41 am said: Hi Tom: I’ve had issues on the Mac with Java. I have found that installing the latest version of Oracle Java 6 works best with Grails as opposed to Java 7. 4GB of RAM should be plenty. Mike Reply ↓
Thank you for the excellent video on installing Grails on OS X. I viewed the video to verify my grails installation which is exactly the same as shown, except I am using Grails 2.3.5. I am baffled because when I run the demo application, I see the “Error generating web.xml file” message rather than the “Server running” as shown in the video.
I have searched the web and found nothing helpful. Is this error message due to a configuration issue? Or is it a Tomcat bug, as the stack trace shows… org.apache.xml.serializer.utils.WrappedRuntimeException: org.apache.xml.serializer.ToXMLSAXHandler cannot be cast to org.apache.xml.serializer.SerializationHandler
Or, could it be that my MacBook with 4Gb memory is insufficient to run Grails? I am clueless….Thanks.
mkelly on February 14, 2014 at 8:41 am said: Hi Tom: I’ve had issues on the Mac with Java. I have found that installing the latest version of Oracle Java 6 works best with Grails as opposed to Java 7. 4GB of RAM should be plenty. Mike Reply ↓
Hi Tom:
I’ve had issues on the Mac with Java. I have found that installing the latest version of Oracle Java 6 works best with Grails as opposed to Java 7. 4GB of RAM should be plenty.
Mike
teddy on June 12, 2013 at 6:43 am said: i am installing grails through this video i have done till export window and then :wq closed that terminal opened up a new to check the version as per your video the java -version is working and giving me the appropriate version but grails -version is not working.. it says grails command not found whats the issue now ? Reply ↓ mkelly on June 12, 2013 at 8:30 am said: Double check that the PATH setting to grails/bin is set to the correct location. Reply ↓ teddy on June 17, 2013 at 3:38 am said: yes i did it right what is the problem now Reply ↓ Lucila Fernandez on July 17, 2013 at 4:59 pm said: Hello . i have the same problem ! Reply ↓ Tom on August 3, 2013 at 7:30 am said: Hi, i have the same problem… Lucila Fernandez on August 3, 2013 at 11:31 am said: http://thewidgetsmith.com/2013/01/grails-development-environment-set-up-os-x/ i did that and now is working!
i am installing grails through this video i have done till export window and then :wq closed that terminal opened up a new to check the version as per your video the java -version is working and giving me the appropriate version but grails -version is not working.. it says grails command not found whats the issue now ?
mkelly on June 12, 2013 at 8:30 am said: Double check that the PATH setting to grails/bin is set to the correct location. Reply ↓ teddy on June 17, 2013 at 3:38 am said: yes i did it right what is the problem now Reply ↓ Lucila Fernandez on July 17, 2013 at 4:59 pm said: Hello . i have the same problem ! Reply ↓ Tom on August 3, 2013 at 7:30 am said: Hi, i have the same problem… Lucila Fernandez on August 3, 2013 at 11:31 am said: http://thewidgetsmith.com/2013/01/grails-development-environment-set-up-os-x/ i did that and now is working!
Double check that the PATH setting to grails/bin is set to the correct location.
teddy on June 17, 2013 at 3:38 am said: yes i did it right what is the problem now Reply ↓ Lucila Fernandez on July 17, 2013 at 4:59 pm said: Hello . i have the same problem ! Reply ↓ Tom on August 3, 2013 at 7:30 am said: Hi, i have the same problem… Lucila Fernandez on August 3, 2013 at 11:31 am said: http://thewidgetsmith.com/2013/01/grails-development-environment-set-up-os-x/ i did that and now is working!
yes i did it right what is the problem now
Lucila Fernandez on July 17, 2013 at 4:59 pm said: Hello . i have the same problem ! Reply ↓ Tom on August 3, 2013 at 7:30 am said: Hi, i have the same problem… Lucila Fernandez on August 3, 2013 at 11:31 am said: http://thewidgetsmith.com/2013/01/grails-development-environment-set-up-os-x/ i did that and now is working!
Hello . i have the same problem !
Tom on August 3, 2013 at 7:30 am said: Hi, i have the same problem…
Hi, i have the same problem…
Lucila Fernandez on August 3, 2013 at 11:31 am said: http://thewidgetsmith.com/2013/01/grails-development-environment-set-up-os-x/ i did that and now is working!
http://thewidgetsmith.com/2013/01/grails-development-environment-set-up-os-x/
i did that and now is working!
juan on May 16, 2013 at 8:33 pm said: hola, excelente video! gracias por la aportación, podrias hacerlo en español o con subtítulos por que no le entiendo muy bien… cuando haces el grails-2.2.2 y enseña a configurarlo con mysql por favor Reply ↓
hola, excelente video! gracias por la aportación, podrias hacerlo en español o con subtítulos por que no le entiendo muy bien… cuando haces el grails-2.2.2 y enseña a configurarlo con mysql por favor
Newton on March 12, 2013 at 2:45 pm said: Just in case you were curious, vim is Vi iMproved. Its an extended version of VI, runs the same commands, but has slight modifications to it. Reply ↓ mkelly on March 12, 2013 at 4:30 pm said: Excellent. Thanks for letting me know. Reply ↓
Just in case you were curious, vim is Vi iMproved. Its an extended version of VI, runs the same commands, but has slight modifications to it.
mkelly on March 12, 2013 at 4:30 pm said: Excellent. Thanks for letting me know. Reply ↓
Excellent. Thanks for letting me know.
Eli on March 1, 2013 at 11:00 am said: Thank you! for the video. Reply ↓
Thank you! for the video.
marcin on February 20, 2013 at 6:06 am said: Very nice, thank you. But, I wouldn’t set GRAILS_HOME in the .bash_profile to a specific grails version. Instead I would create a soft link in the grails directory that points to the current used version of grails, like this: ln -s /users//grails/grails-2.2.0 /users//grails/grails The main advantage is, in case of a new grails version, you only need to update the soft link and don’t need to update your .bash_profile or other files. Reply ↓ mkelly on February 20, 2013 at 8:10 am said: I like that idea, thanks. When I update the videos for Grails 2.2, I’ll include that. Mike Reply ↓
Very nice, thank you. But, I wouldn’t set GRAILS_HOME in the .bash_profile to a specific grails version. Instead I would create a soft link in the grails directory that points to the current used version of grails, like this:
ln -s /users//grails/grails-2.2.0 /users//grails/grails
The main advantage is, in case of a new grails version, you only need to update the soft link and don’t need to update your .bash_profile or other files.
mkelly on February 20, 2013 at 8:10 am said: I like that idea, thanks. When I update the videos for Grails 2.2, I’ll include that. Mike Reply ↓
I like that idea, thanks. When I update the videos for Grails 2.2, I’ll include that.
Ahmed on February 4, 2013 at 1:03 pm said: Love your videos. I tried installing Groovy/Grails Tools Suite (Version: 3.1.0.RELEASE Build Id: 201210061306) on Mac OS X 10.6.8(not Mountain Lion) but keep getting this error: Error Error loading plugin manager: Could not create a new instance of class [ResourcesGrailsPlugin]! (Use –stacktrace to see the full trace) any ideas?? Thanks Reply ↓ poppin_D on June 19, 2013 at 7:47 am said: i also get in to the trobule . Reply ↓ poppin_D on June 19, 2013 at 7:52 am said: if you have any way to solve that , please let me know,thanks. Reply ↓
Love your videos. I tried installing Groovy/Grails Tools Suite (Version: 3.1.0.RELEASE Build Id: 201210061306) on Mac OS X 10.6.8(not Mountain Lion) but keep getting this error: Error Error loading plugin manager: Could not create a new instance of class [ResourcesGrailsPlugin]! (Use –stacktrace to see the full trace)
any ideas?? Thanks
poppin_D on June 19, 2013 at 7:47 am said: i also get in to the trobule . Reply ↓ poppin_D on June 19, 2013 at 7:52 am said: if you have any way to solve that , please let me know,thanks. Reply ↓
i also get in to the trobule .
poppin_D on June 19, 2013 at 7:52 am said: if you have any way to solve that , please let me know,thanks. Reply ↓
if you have any way to solve that , please let me know,thanks.
Nicole on January 20, 2013 at 7:16 pm said: Love the video. I was wondering if you have to have Mountain Lion to run the newer version of Grails. I am running on Snow Leopard (yea I am behind) and when I follow the video exactly and type “grails -version” in my terminal, I get “command not found”. Reply ↓ mkelly on January 20, 2013 at 7:55 pm said: My first videos were on Snow Lion and it worked fine. The message you are getting is because your path must not be set up. Try to change directories into the bin directory under where Grails is installed. If the commands work there, you just need to add the path to your profile. I think OS X stores the bash profile in a different place than Mountain Lion though. Reply ↓
Love the video. I was wondering if you have to have Mountain Lion to run the newer version of Grails. I am running on Snow Leopard (yea I am behind) and when I follow the video exactly and type “grails -version” in my terminal, I get “command not found”.
mkelly on January 20, 2013 at 7:55 pm said: My first videos were on Snow Lion and it worked fine. The message you are getting is because your path must not be set up. Try to change directories into the bin directory under where Grails is installed. If the commands work there, you just need to add the path to your profile. I think OS X stores the bash profile in a different place than Mountain Lion though. Reply ↓
My first videos were on Snow Lion and it worked fine. The message you are getting is because your path must not be set up. Try to change directories into the bin directory under where Grails is installed. If the commands work there, you just need to add the path to your profile. I think OS X stores the bash profile in a different place than Mountain Lion though.
Don on January 19, 2013 at 11:14 pm said: Flawless guideline in video. With step-by-step guides accompany would be perfect. Well done! Reply ↓
Flawless guideline in video.
With step-by-step guides accompany would be perfect.
Well done!
shantanu on September 20, 2012 at 3:07 am said: my mac does not show whether its 32 bit or 64 bit… at least not the you showed in the video… System Software Overview: System Version: OS X 10.8 (12A269) Kernel Version: Darwin 12.0.0 Boot Volume: Macintosh HD Boot Mode: Normal Computer Name: Vikram’s Mac mini User Name: Shantanu Nanoty (snanoty) Secure Virtual Memory: Enabled Time since boot: 5:13 this is what is displayed.. Reply ↓ shantanu on September 20, 2012 at 6:38 am said: got it… dont bother… Excellent tutorials though!!! thanks a lot… Reply ↓ mkelly on September 20, 2012 at 8:41 am said: Glad you got it sorted. Mountain Lion only runs in 64-bit mode, so they don’t display that attribute any more. Reply ↓
my mac does not show whether its 32 bit or 64 bit… at least not the you showed in the video…
System Software Overview:
System Version: OS X 10.8 (12A269) Kernel Version: Darwin 12.0.0 Boot Volume: Macintosh HD Boot Mode: Normal Computer Name: Vikram’s Mac mini User Name: Shantanu Nanoty (snanoty) Secure Virtual Memory: Enabled Time since boot: 5:13 this is what is displayed..
shantanu on September 20, 2012 at 6:38 am said: got it… dont bother… Excellent tutorials though!!! thanks a lot… Reply ↓ mkelly on September 20, 2012 at 8:41 am said: Glad you got it sorted. Mountain Lion only runs in 64-bit mode, so they don’t display that attribute any more. Reply ↓
got it… dont bother… Excellent tutorials though!!! thanks a lot…
mkelly on September 20, 2012 at 8:41 am said: Glad you got it sorted. Mountain Lion only runs in 64-bit mode, so they don’t display that attribute any more. Reply ↓
Glad you got it sorted. Mountain Lion only runs in 64-bit mode, so they don’t display that attribute any more.
vicky on September 13, 2012 at 6:51 am said: How to create an browse butto and create an upload form using grails will show me step by step procedure to doing it. Reply ↓
How to create an browse butto and create an upload form using grails will show me step by step procedure to doing it.
pan on May 7, 2012 at 7:12 am said: Doesn’t even talk about how to set java_home and grails_home Reply ↓ mkelly on May 7, 2012 at 12:51 pm said: Thanks for the input. I just updated the videos for Grails 2.1 and include that now. Also, if you are following the course and stay in the Eclipse environment, the IDE takes care of those. Reply ↓
Doesn’t even talk about how to set java_home and grails_home
mkelly on May 7, 2012 at 12:51 pm said: Thanks for the input. I just updated the videos for Grails 2.1 and include that now. Also, if you are following the course and stay in the Eclipse environment, the IDE takes care of those. Reply ↓
Thanks for the input. I just updated the videos for Grails 2.1 and include that now. Also, if you are following the course and stay in the Eclipse environment, the IDE takes care of those.
Jc Cannonier on April 13, 2012 at 9:58 am said: You must participate in a contest for top-of-the-line blogs on the web. I will suggest this web site! Reply ↓
You must participate in a contest for top-of-the-line blogs on the web. I will suggest this web site!
Raymundo Lartey on April 4, 2012 at 11:35 pm said: Howdy. Very nice website!! Man .. Excellent .. Amazing .. I’ll bookmark your website and take the feeds additionally…I’m glad to find so much useful information here in the post. Thank you for sharing.. Reply ↓
Howdy. Very nice website!! Man .. Excellent .. Amazing .. I’ll bookmark your website and take the feeds additionally…I’m glad to find so much useful information here in the post. Thank you for sharing..
Ena Eichstadt on April 3, 2012 at 9:11 pm said: This actually answered my problem, thanks! Reply ↓
This actually answered my problem, thanks!
Vita Gedman on March 26, 2012 at 3:54 pm said: Excuse me, but I attempted to email you regarding an issue on your site but the given email address did not work. Is there some other place I could get in touch with you? Reply ↓ mkelly on March 26, 2012 at 4:08 pm said: Feel free to leave your issue in the comments and I will do what I can to help. Reply ↓
Excuse me, but I attempted to email you regarding an issue on your site but the given email address did not work. Is there some other place I could get in touch with you?
mkelly on March 26, 2012 at 4:08 pm said: Feel free to leave your issue in the comments and I will do what I can to help. Reply ↓
Feel free to leave your issue in the comments and I will do what I can to help.
Peter Wesloh on March 18, 2012 at 8:21 pm said: Very nice post, I certainly love this website, keep on it. Reply ↓
Very nice post, I certainly love this website, keep on it.
Charley Stiltner on March 18, 2012 at 6:26 pm said: Thanks very interesting info. Reply ↓
Thanks very interesting info.
Charlie on February 19, 2012 at 4:11 am said: Very good knowledge! I have been seeking for everything such as this for a time finally. With thanks! Reply ↓
Very good knowledge! I have been seeking for everything such as this for a time finally. With thanks!
todays date on February 14, 2012 at 2:40 pm said: Had fun today not coding myself but mentoring the team up on some groovy/grails. Reply ↓
Had fun today not coding myself but mentoring the team up on some groovy/grails.
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Notify me of follow-up comments by email.
Notify me of new posts by email.