Skip to content

MiniJAXB should not throw NoClassDefFoundError in the absence of the JAXB API on classpath #9723

@lukaseder

Description

@lukaseder

When users do not use Maven to build jOOQ projects (e.g. as suggested in the tutorial), there is currently a NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema.

This particular exception was introduced with #8918. However, other similar exceptions could have been caused before, because we used to use ordinary reflection API to read JAXB API annotations before.

MiniJAXB should be able to work without the JAXB API on the classpath.

The JAXB API ships with the CDDL license. I'm not sure if that license is compatible with ASL 2.0, so I'm not sure whether we can ship the API with the jOOQ ZIP file for convenience.


See also:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions