-Jersey3 JAXB problem
HK2 failure has been detected in a code that does not run in an active Jersey Error scope
The error message is not the same as mine.
1
method 3:
1
2
3
4
5
6
7
8
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>3.2.3</version>
    <configuration>
        <argLine>--add-modules=java.xml.bind</argLine>
    </configuration>
</plugin>
output error:
1
2
[ERROR] Error occurred during initialization of boot layer
[ERROR] java.lang.module.FindException: Module java.xml.bind not found
 This post is licensed under  CC BY 4.0  by the author.