Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing required bundle org.eclipse.jdt.debug needed by [org.eclipse.jdt.launching] - spotless version 6.25.0 #2089

Open
6 tasks
subhashiniv opened this issue Apr 5, 2024 · 0 comments

Comments

@subhashiniv
Copy link

If you are submitting a bug, please include the following:

  • summary of problem unable to execute spotless groovy apply task, receiving missing required bundle for eclipse integration
  • Gradle or Maven version 8.5
  • spotless version 6.25.0
  • operating system and version - mac book pro
  • copy-paste your full Spotless configuration block(s), and a link to a public git repo that reproduces the problem if possible
  • copy-paste the full content of any console errors emitted by gradlew spotless[Apply/Check] --stacktrace

If you're just submitting a feature request or question, no need for the above.

Please hep in resolving the below error.

Task :spotlessGroovy
Missing required bundle org.eclipse.jdt.debug needed by [org.eclipse.jdt.launching]
Recommend setting osgi.configuration.area to a directory, getDataFile will return null
Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
124 org.codehaus.groovy_5.0.0.v202309291934-e2309 RESOLVED
Task :spotlessGroovyCheck FAILED
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':spotlessGroovyCheck'.

The following files had format violations:

Below is the build.gradle settings

groovy {
greclipse()

importOrder()

excludeJava() 

licenseHeaderFile rootProject.file("license")
indentWithSpaces(2)

}
groovyGradle {
target '*.gradle'
greclipse()
indentWithSpaces(2)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant