Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grails 2.3.2 not working

Tags:

grails

Good morning, I created a new project with

  • Grails 2.3.2

  • Java JDK 1.7.0_45

When I run the command:

grails run-app

see the following errors:

**| Configuring classpath
nov 09, 2013 1:52:27 PM java.util.prefs.WindowsPreferences <init>
| Running Grails application
*** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message transform method call failed at ../../../src/share/instrument/JPLISAgent.c line: 844
Exception in thread "main"
| Error Forked Grails VM exited with error**

Can anyone help me?

thanks

like image 214
user2971911 Avatar asked Nov 09 '13 13:11

user2971911


People also ask

How do I get Started with Grails on my computer?

For a quick and effortless start on Mac OSX, Linux, or Cygwin, you can use SDKMAN! (The Software Development Kit Manager) to download and configure any Grails version of your choice.

How do I install the Grails framework on Mac OSX?

This tool makes installing the Grails framework on any Unix based platform (Mac OSX, Linux, Cygwin, Solaris, or FreeBSD) easy. Simply open a new terminal and enter: Follow the on-screen instructions to complete installation. Open a new terminal or type the command:

How far back can I download Grails?

You can download previous versions as far back as Grails 1.2.0. For a quick and effortless start on Mac OSX, Linux, or Cygwin, you can use SDKMAN!


2 Answers

Just tried with exact same setup, as you have.

  1. Comment-out lines inside of grails.project.fork=[-----]
  2. Delete .grails in user's home directory
  3. grails clean
  4. grails run-app

Its worked for newly created app but surely there are some problems in asm libraries.

like image 154
Sana Avatar answered Oct 20 '22 16:10

Sana


Just comment-out section grails.project.fork of BuildConfig.groovy

That's it. The error will run away.

like image 36
Phat H. VU Avatar answered Oct 20 '22 15:10

Phat H. VU