apache / apache/grails-intellij-plugin

Error in Grails Run/Debug Configuration missing org.eclipse.aether.artifact.Artifact

Open
#320 0 comments 0 reactions 0 assignees View on GitHub
bug imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

I have a Grails 3.3.0 application that I'm trying to run with a Grails Run/Debug Configuration that had previously been working fine.

Both Run and Debug give the error:
`
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/aether/artifact/Artifact
at org.grails.cli.GrailsCli.(GrailsCli.groovy:118)
at org.grails.cli.GrailsCli.main(GrailsCli.groovy:157)
Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.artifact.Artifact
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 2 more
Process finished with exit code 1
`

I can start the project fine from the command line with either "grails run-app" or "gradle bootRun".

I've tried this on 2017.2.5 and the betas of 2017.3 and problem DOES occur on both.

Mac OS X.12.6
Java JDK 1.8.141

---

*Imported from [IDEA-180902](https://youtrack.jetbrains.com/issue/IDEA-180902) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the GrailsCli.groovy stack frames and the Grails Run/Debug Configuration classpath, then compare them with the working grails run-app and gradle bootRun entry points. Done means both Run and Debug launch the Grails 3.3.0 application without the missing org.eclipse.aether.artifact.Artifact error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.