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

java.lang.NoClassDefFoundError: org/jvnet/fastinfoset/VocabularyApplicationData #131

Open
andham opened this issue Aug 18, 2022 · 2 comments

Comments

@andham
Copy link

andham commented Aug 18, 2022

Expected Behavior

The test should execute with Java 11.

Actual Behavior

The test run fails with:

java.lang.NoClassDefFoundError: org/jvnet/fastinfoset/VocabularyApplicationData
at java.base/java.lang.Class.forName(Class.java:315)
at com.homeaway.devtools.jenkins.testing.LocalProjectPipelineExtensionDetector.getClassesOfTypeInPackage(LocalProjectPipelineExtensionDetector.java:88)
at com.homeaway.devtools.jenkins.testing.JenkinsPipelineSpecification.setupSpec(JenkinsPipelineSpecification.groovy:1122)
Caused by: java.lang.ClassNotFoundException: org.jvnet.fastinfoset.VocabularyApplicationData
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 3 more

Steps to Reproduce

Please include a numbered list of steps that other people can use to recreate the "Actual Behavior."

  1. Create a test case that uses loadPipelineScriptForTest()
  2. Include pipeline-model-definition as a dependency in the pom.
  3. Execute test with Java 11.

Additional Information

It works with Java 8 but fails with Java 11. The problem started when we upgraded pipeline-model-definition in our dependency from 2.2086.v12b_420f036e5 to 2.2097.v33db_b_de764b_e.

@corporate-gadfly
Copy link

Probably fixed by #90 (which is unreleased, as of yet).

@mrlov
Copy link

mrlov commented Feb 14, 2023

I get the same error :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants