Skip to content

Missing required bundle and Missing required capability #2445

Open
@nicolasb29

Description

@nicolasb29

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions