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 and Missing required capability #2445

Open
nicolasb29 opened this issue Mar 10, 2025 · 2 comments
Open

Missing required bundle and Missing required capability #2445

nicolasb29 opened this issue Mar 10, 2025 · 2 comments
Labels

Comments

@nicolasb29
Copy link

Hi,

I'm working on an upgrade of the spotless plugin gradle from 5.16.0 to the latest (7.0.2).

I have this error when running the spotlessGroovyGradle task:

Missing required bundle org.eclipse.jdt.debug needed by [org.eclipse.jdt.launching, org.eclipse.jdt.launching.macosx]
Missing required capability osgi.extender:osgi.extender=osgi.serviceloader.processor needed by org.apache.commons.commons-logging
Missing required capability osgi.serviceloader:osgi.serviceloader=org.apache.commons.logging.LogFactory needed by org.apache.commons.commons-logging
Missing required capability osgi.serviceloader:osgi.serviceloader=org.apache.juli.logging.Log needed by org.mortbay.jasper.apache-jsp
Missing required capability osgi.extender:osgi.extender=osgi.serviceloader.processor needed by org.mortbay.jasper.apache-jsp
Recommend setting osgi.configuration.area to a directory, getDataFile will return null

I have made a sample project from a fresh spring boot project, the source code can be found here and the error in this output. I also made test on Ubuntu and MacOS and the problem is the same.

I have check there issues but it didn't work:

i.e.: the format.gradle file is on a separate file because in my case it's hosted on a central repository.

@nedtwigg nedtwigg added the bug label Mar 13, 2025
@nedtwigg
Copy link
Member

It's not good, but I believe these are just warnings. We should still fix it though :)

@nicolasb29
Copy link
Author

The spotless is working fine, so I agree it's warning messages.

Is there a way to not display theses messages?

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

No branches or pull requests

2 participants