user2971911
user2971911

Reputation: 151

Grails 2.3.2 not working

Good morning, I created a new project with

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

Upvotes: 15

Views: 4159

Answers (5)

Zeb
Zeb

Reputation: 2777

Following are the steps which work for me:-

  • Delete .grails in user's home directory
  • Right click on icon IntelliJ IDE and run as administrator

Hope your problem will be solved.

Upvotes: 0

Tan Vu
Tan Vu

Reputation: 738

Just remove grails.project.fork then clean-app and run-app. That's all.

Upvotes: 1

Phat H. VU
Phat H. VU

Reputation: 2370

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

That's it. The error will run away.

Upvotes: 3

pro
pro

Reputation: 123

For me help adding in BuildConfig.groovy

build "org.fusesource.jansi:jansi:1.11"

More information on http://jira.grails.org/browse/GRAILS-10756?focusedCommentId=78003&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel

Upvotes: 1

Sana
Sana

Reputation: 171

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.

Upvotes: 17

Related Questions