Registry / serialization / jaxb-core

jaxb-core

JSON →
library4.0.7javamavenunverified

Core module for JAXB (Java Architecture for XML Binding) containing runtime and code generation dependencies.

<dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId> <version>4.0.7</version> </dependency>
INSTALL
IMPORT
SIG · JAXB-CORE
J
jaxb-core
serializationjavav4.0.7
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
javax.xml.bind.JAXBContext

Creates a JAXB context and marshals an object to XML.

import javax.xml.bind.JAXBContext; import javax.xml.bind.Marshaller; public class Main { public static void main(String[] args) throws Exception { JAXBContext context = JAXBContext.newInstance(MyClass.class); Marshaller marshaller = context.createMarshaller(); marshaller.marshal(new MyClass(), System.out); } }
Debug
Known issues
breakingJAXB is removed from Java SE 11 and later; you must add it as a dependency.
fix
Add jaxb-api and jaxb-core to your project dependencies.
affects: >=4.0.0
Upgrade
Version history
4.0.7latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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