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

Test failing during build #8

Open
mattia-hash opened this issue Nov 9, 2020 · 1 comment
Open

Test failing during build #8

mattia-hash opened this issue Nov 9, 2020 · 1 comment

Comments

@mattia-hash
Copy link

Hi, tests seem to be failing during build. See errors below.

`> Task :test FAILED

com.pega.api2swagger.ModelPropertyTest > extractProperties FAILED
java.lang.NoClassDefFoundError at ModelPropertyTest.java:22
Caused by: java.lang.ClassNotFoundException at ModelPropertyTest.java:22

com.pega.api2swagger.SwaggerSerializerTest > writeSpecWithParameterReferences FAILED
java.lang.NoClassDefFoundError at SwaggerSerializerTest.java:129

com.pega.api2swagger.SwaggerSerializerTest > convertSpec FAILED
java.lang.NoClassDefFoundError at SwaggerSerializerTest.java:41

com.pega.api2swagger.updater.TestSwaggerUpdater > testAddNewPath FAILED
java.lang.NoClassDefFoundError at TestSwaggerUpdater.java:34
Caused by: java.lang.ClassNotFoundException at TestSwaggerUpdater.java:34

35 tests completed, 4 failed

FAILURE: Build failed with an exception.`

@joshi-adi-1983
Copy link

please try installing jdk8 and retry.

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

2 participants