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

Unable to use 6.0.0 or 7.0.0 in new project #1838

Open
BigBallard opened this issue Oct 28, 2024 · 0 comments
Open

Unable to use 6.0.0 or 7.0.0 in new project #1838

BigBallard opened this issue Oct 28, 2024 · 0 comments

Comments

@BigBallard
Copy link

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

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