Registry / serialization / jaxb-osgi

jaxb-osgi

JSON →
library4.0.7javamavenunverified

JAXB implementation packaged as an OSGi bundle for modular Java environments.

<dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-osgi</artifactId> <version>4.0.7</version> </dependency>
INSTALL
IMPORT
SIG · JAXB-OSGI
J
jaxb-osgi
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 a simple string.

import javax.xml.bind.JAXBContext; import javax.xml.bind.Marshaller; public class Quickstart { 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 no longer included in Java SE 11+; you must add it as a dependency.
fix
Add jaxb-osgi to your classpath or use the java.xml.bind module.
affects: >=11
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-osgi — mvn dependency:get jaxb-osgi · libregistry