I am attempting to use the Json-B API that is part of the Java EE 8 specification within Wildfly 17. Wildfly 17 is a certified Java EE 8 implementation, however the Json-B API classes are not found on the servers classpath when I attempt to use Jsonb
or JsonBuilder
. Eclipse has the Wildfly 17 Runtime included as part of my project however I still receive a message stating the type cannot be resolved: Jsonb cannot be resolved to a type
?
Can someone confirm if Json-B is included in Wildfly 17.0?
JSON-B is definitely included in WildFly and added as a dependency to each deployment.
I'm not all that familiar with adding dependencies to Eclipse, however you'd definitely need to add it there as well for the IDE to recognize it.