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

Build the jar is failing because of test failure #65

Open
mehtanin opened this issue Feb 2, 2022 · 0 comments
Open

Build the jar is failing because of test failure #65

mehtanin opened this issue Feb 2, 2022 · 0 comments

Comments

@mehtanin
Copy link

mehtanin commented Feb 2, 2022

When trying to build the jar file using "mvn package -P standalone-release" and "mvn package -Denv=standalone" it's failing because of test failures. Details:

`initializationError(de.uni_stuttgart.vis.vowl.owl2vowl.ConsoleMainTest) Time elapsed: 0.005 sec <<< ERROR!
org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException

Caused by: java.lang.reflect.InvocationTargetException

Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org.powermock.core.classloader.MockClassLoader @658255aa cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

Results :

Tests in error:
initializationError(de.uni_stuttgart.vis.vowl.owl2vowl.ConsoleMainTest): java.lang.reflect.InvocationTargetException

Tests run: 4, Failures: 0, Errors: 1, Skipped: 0

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project OWL2VOWL: There are test failures.`

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