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

Getting the error while running the Junit starter with serenity.version and Maven version is 2.3.12 in pom.xml #18

Open
nagaraj0312 opened this issue Feb 15, 2021 · 0 comments

Comments

@nagaraj0312
Copy link

Getting the error while running the Junit starter

java.lang.NoClassDefFoundError: net/bytebuddy/TypeCache
at net.thucydides.core.steps.StepEventBus.clear(StepEventBus.java:267)
at net.serenitybdd.junit.runners.SerenityRunner.initStepEventBus(SerenityRunner.java:358)
at net.serenitybdd.junit.runners.SerenityRunner.buildAndConfigureListeners(SerenityRunner.java:335)
at net.serenitybdd.junit.runners.SerenityRunner.getStepListener(SerenityRunner.java:324)
at net.serenitybdd.junit.runners.SerenityRunner.initializeRunNotifier(SerenityRunner.java:348)
at net.serenitybdd.junit.runners.SerenityRunner.run(SerenityRunner.java:248)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:538)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:760)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:206)
Caused by: java.lang.ClassNotFoundException: net.bytebuddy.TypeCache
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)d
JunitStarter

@nagaraj0312 nagaraj0312 changed the title Getting the error while running the Junit starter Getting the error while running the Junit starter with serenity.version and Maven version is 2.3.12 in pom.xml Feb 15, 2021
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