Registry / serialization / jaxb-impl

jaxb-impl

JSON →
library4.0.8javamavenunverified

JAXB Runtime module provides the implementation for marshalling and unmarshalling Java objects to and from XML.

<dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> <version>4.0.8</version> </dependency>
INSTALL
IMPORT
SIG · JAXB-IMPL
J
jaxb-impl
serializationjavav4.0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JAXBContext
jakarta.xml.bind.JAXBContext

Creates a JAXBContext and marshals a simple string to XML.

import jakarta.xml.bind.JAXBContext; import jakarta.xml.bind.Marshaller; public class Main { public static void main(String[] args) throws Exception { JAXBContext context = JAXBContext.newInstance(String.class); Marshaller marshaller = context.createMarshaller(); marshaller.marshal("Hello", System.out); } }
Debug
Known issues
breakingJAXB is removed from Java SE 11 and later; you must add it as a dependency.
fix
Include jaxb-impl and jaxb-api as explicit dependencies for Java 11+.
affects: >=4.0.0
Upgrade
Version history
4.0.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jaxb-impl — mvn dependency:get jaxb-impl · libregistry