Skip to content

Annotation classes from the 'javax.inject' or 'javax.annotation' package found #1566

@manueljordan

Description

@manueljordan

Since few STS versions go and even the 4.30.0. At startup appears the following:

INFO: Registered provider ch.qos.logback.classic.spi.LogbackServiceProvider of service org.slf4j.spi.SLF4JServiceProvider in bundle ch.qos.logback.classic
16:43:40.332 [Start Level: Equinox Container: b74f9ef2-d3a9-4e38-9257-1f23c3f13a5d] DEBUG org.eclipse.jgit.internal.util.ShutdownHook -- register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda/0x00007cee081c0408@426f869e with shutdown hook
16:43:40.332 [Start Level: Equinox Container: b74f9ef2-d3a9-4e38-9257-1f23c3f13a5d] DEBUG org.eclipse.jgit.internal.util.ShutdownHook -- register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda/0x00007cee081c0408@426f869e with shutdown hook
16:43:41.166 [main] DEBUG org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob -- Queued refresh request: []
16:43:41.166 [main] DEBUG org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob -- Queued refresh request: []
WARNING: Annotation classes from the 'javax.inject' or 'javax.annotation' package found.
It is recommended to migrate to the corresponding replacements in the jakarta namespace.
The Eclipse E4 Platform will remove support for those javax-annotations in a future release.
To suppress this warning, set the VM property: -Declipse.e4.inject.javax.warning=false
To disable processing of 'javax' annotations entirely, set the VM property: -Declipse.e4.inject.javax.disabled=true

2025-05-23 16:43:45.520 - Initialize desktop platform...
2025-05-23 16:43:45.531 - BounceCastle bundle found. Use JCE provider BC
2025-05-23 16:43:45.874 - Initialize base platform...
2025-05-23 16:43:45.881 - Platform initialized (361ms)
Warning: NLS missing message: MarketplacePage_favorites in: org.eclipse.epp.internal.mpc.ui.wizards.messages

Even when appears

To suppress this warning, set the VM property: -Declipse.e4.inject.javax.warning=false
To disable processing of 'javax' annotations entirely, set the VM property: -Declipse.e4.inject.javax.disabled=true

It should be fix it, since years it worls with jakarta

I am not sure if it is directly with sts-tools of with some "component" in Eclipse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions