File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
core-java-modules/core-java-9
src/main/java/com/baeldung/java9/prejpms Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 4747 <version >${commons-io.version} </version >
4848 </dependency >
4949 <dependency >
50- <groupId >javax .xml.bind</groupId >
51- <artifactId >jaxb -api</artifactId >
52- <version >${javax .xml.bind.version} </version >
50+ <groupId >jakarta .xml.bind</groupId >
51+ <artifactId >jakarta.xml.bind -api</artifactId >
52+ <version >${jakarta .xml.bind-api .version} </version >
5353 </dependency >
5454 </dependencies >
5555
8181 <awaitility .version>1.7.0</awaitility .version>
8282 <maven .compiler.source>1.9</maven .compiler.source>
8383 <maven .compiler.target>1.9</maven .compiler.target>
84- <javax .xml.bind.version>2. 4.0-b180725.0427</ javax .xml.bind.version>
84+ <jakarta .xml.bind-api .version>4.0.2</ jakarta .xml.bind-api .version>
8585 </properties >
8686
8787</project >
Original file line number Diff line number Diff line change 66import java .util .Base64 ;
77import java .util .concurrent .atomic .AtomicInteger ;
88
9- import javax .xml .bind .JAXBContext ;
10- import javax .xml .bind .Marshaller ;
9+ import jakarta .xml .bind .JAXBContext ;
10+ import jakarta .xml .bind .Marshaller ;
1111
1212import com .sun .crypto .provider .SunJCE ;
1313
Original file line number Diff line number Diff line change 11package com .baeldung .java9 .prejpms ;
22
3- import javax .xml .bind .annotation .XmlAttribute ;
4- import javax .xml .bind .annotation .XmlElement ;
5- import javax .xml .bind .annotation .XmlRootElement ;
3+ import jakarta .xml .bind .annotation .XmlAttribute ;
4+ import jakarta .xml .bind .annotation .XmlElement ;
5+ import jakarta .xml .bind .annotation .XmlRootElement ;
66
77@ XmlRootElement (name = "book" )
88public class Book {
You can’t perform that action at this time.
0 commit comments