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

Use the standard HK2 topic service #25020

Merged
merged 2 commits into from
Jul 5, 2024

Conversation

OndroMih
Copy link
Contributor

@OndroMih OndroMih commented Jul 4, 2024

Remove the temporary service and use the HK2 topic service instead

Remove the temporary service and use the HK2 topic service instead
@dmatej dmatej self-requested a review July 4, 2024 21:04
@dmatej
Copy link
Contributor

dmatej commented Jul 4, 2024

Seems embedded is missing some dependencies:

java.lang.NoClassDefFoundError: org/glassfish/hk2/extras/ExtrasUtilities
	at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.<init>(GlassFishImpl.java:46)
	at com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime$1.<init>(StaticGlassFishRuntime.java:95)
	at com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime.newGlassFish(StaticGlassFishRuntime.java:95)
	at org.glassfish.main.extras.embedded.test.all.StartupITest.startAndStopNoPorts(StartupITest.java:61)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.ClassNotFoundException: org.glassfish.hk2.extras.ExtrasUtilities
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
	... 7 more

Add missing dependency to GF Embedded All and Web
@dmatej dmatej added this to the 7.0.16 milestone Jul 5, 2024
@dmatej dmatej merged commit a121197 into eclipse-ee4j:master Jul 5, 2024
2 checks passed
@OndroMih OndroMih deleted the ondromih-hk2-events branch August 12, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants