Skip to content

REST HTTP demo failing with java.lang.NoClassDefFoundError: javax/json/spi/JsonProvider #1134

@gsmet

Description

@gsmet

This is related to this commit:
98e8f1b

application classes: Build failure: Build failed due to errors
[ERROR] 	[error]: Build step io.quarkus.resteasy.ResteasyScanningProcessor#registerProviders threw an exception: java.lang.NoClassDefFoundError: javax/json/spi/JsonProvider: javax.json.spi.JsonProvider

The issue is that javax.json 1.1.2 does NOT include the API classes whereas 1.1.4 does...

1.1.4 is set by quarkus-test-common in the Quarkus build whereas in the Rest HTTP demo, it's coming from RESTEasy and it's 1.1.2.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions