Skip to content

Unable to use 6.0.0 or 7.0.0 in new project #1838

Open
@BigBallard

Description

@BigBallard

After some reading, I am learning about the migration to Jakarta but am unable to figure out how that should really affect any new project. I started a new JavaFX + Kotlin application and the first thing I did was add guice and attempt the following:

val injector = Guice.createInjector(
     TestModule()
)

TestModule is just a stub class extending AbstractModule. The following error now plagues:
`java.lang.NoClassDefFoundError: jakarta/inject/Provider```

No idea how to fix this or why it happens. Figure this should not be an issue with a brand new project.

Guice: 7.0.0
JavaFX: 11
Java: 17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions