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

Error noClassDefFoundError #11

Open
gcornacchia opened this issue Feb 22, 2024 · 0 comments
Open

Error noClassDefFoundError #11

gcornacchia opened this issue Feb 22, 2024 · 0 comments

Comments

@gcornacchia
Copy link

when launching mvn clean package command on latest version several tests fail with this exception:

java.lang.NoClassDefFoundError: com/vordel/common/SystemProperty

[ERROR] Tests run: 24, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 6.675 s <<< FAILURE! - in TestSuite
[ERROR] invalidGetRequestPetsByStatusWithoutQueryParam(com.axway.apim.openapi.validator.TestOpenAPIValidator) Time elapsed: 0.008 s <<< FAILURE!
java.lang.NoClassDefFoundError: com/vordel/common/SystemProperty
at com.axway.apim.openapi.validator.TestOpenAPIValidator.invalidGetRequestPetsByStatusWithoutQueryParam(TestOpenAPIValidator.java:96)
Caused by: java.lang.ClassNotFoundException: com.vordel.common.SystemProperty
at com.axway.apim.openapi.validator.TestOpenAPIValidator.invalidGetRequestPetsByStatusWithoutQueryParam(TestOpenAPIValidator.java:96)

[ERROR] isValidRequestFalseTest(com.axway.apim.openapi.validator.TestOpenAPIValidator) Time elapsed: 0.01 s <<< FAILURE!
java.lang.AssertionError: expected [false] but found [true]
at com.axway.apim.openapi.validator.TestOpenAPIValidator.isValidRequestFalseTest(TestOpenAPIValidator.java:55)

[ERROR] testSpecialCharsQueryParam(com.axway.apim.openapi.validator.TestOpenAPIValidator) Time elapsed: 0.003 s <<< FAILURE!
java.lang.NoClassDefFoundError: com/vordel/common/SystemProperty
at com.axway.apim.openapi.validator.TestOpenAPIValidator.testSpecialCharsQueryParam(TestOpenAPIValidator.java:261)

[ERROR] validGetRequestPetsByStatusPetstoreSwagger20(com.axway.apim.openapi.validator.TestOpenAPIValidator) Time elapsed: 0.002 s <<< FAILURE!
java.lang.NoClassDefFoundError: com/vordel/common/SystemProperty
at com.axway.apim.openapi.validator.TestOpenAPIValidator.validGetRequestPetsByStatusPetstoreSwagger20(TestOpenAPIValidator.java:80)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestOpenAPIValidator.invalidGetRequestPetsByStatusWithoutQueryParam:96 » NoClassDefFound
[ERROR] TestOpenAPIValidator.isValidRequestFalseTest:55 expected [false] but found [true]
[ERROR] TestOpenAPIValidator.testSpecialCharsQueryParam:261 » NoClassDefFound com/vord...
[ERROR] TestOpenAPIValidator.validGetRequestPetsByStatusPetstoreSwagger20:80 » NoClassDefFound
[INFO]
[ERROR] Tests run: 24, Failures: 4, Errors: 0, Skipped: 0

is there a missing Axway Dependency?

@gcornacchia gcornacchia changed the title Error Error noClassDefFoundError Feb 22, 2024
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