Skip to content

n-hass/quarkus-issue-47430

Repository files navigation

To reproduce issue 47430, run ./gradlew :application-server:services:foo:test

the service foo imports the dependency 'sdk' from :shared:sdk.

:shared is an included build in application-server.

A duplicate of the SDK code is in the application-server project as well, and you can observe that the tests pass if toggling between the local and external copy of the dependency.

See line 14/15 of application-server/services/foo/build.gradle.kts

Also observe the KSerializer cast failure due to using different class loaders. Stacktrace from ./gradlew :application-server:services:foo:test. The task :application-server:services:foo:quarkusTest shows the NoClassDefFoundError error.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages