Suppressing class path jaxb-api.jar can not be found
When loading an application in an osgi-like container with an app that references jabx-impl, you might see the following warning:
This one is caused by the specific reference to jaxb-api.jar and jaxb-core.jar in jaxb-impl-2.2.7.jar/META-INF/MANIFEST.MF:
The solution:
Create 2 empty zip files and name them
Place them into
Done
[WARNING ] SRVE9967W: The manifest class path jaxb-api.jar can not be found in jar file file:/D:/Java/maven/repo/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.jar or its parent. [WARNING ] SRVE9967W: The manifest class path jaxb-core.jar can not be found in jar file file:/D:/Java/maven/repo/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-core.jar.jar or its parent.
This one is caused by the specific reference to jaxb-api.jar and jaxb-core.jar in jaxb-impl-2.2.7.jar/META-INF/MANIFEST.MF:
Class-Path: jaxb-api.jar jaxb-core.jarThe artifacts that maven pull in have a different filename (with a version number) that doesn't match the expected build version. e.g.
jaxb-core-2.2.7.jar
and jaxb-api-2.2.7.jar
The solution:
Create 2 empty zip files and name them
jaxb-core.jar
and jaxb-api.jar
Place them into
proj/src/main/WEB-INF/lib
Done
Do you have a better way?
ReplyDeleteAs of 8.5.5.4, the <logging hideMessage="SRVE9967W"> configuration can be used to remove these warning. Just don't forget that they are hidden if you need to debug a classpath issue.
ReplyDeleteAt the highest of your screen, you’ll notice an orange “Play Now” button. Click on it, then fill out any requested private info. To get started, fiat bettors should deposit at least of|no less than} 온라인 카지노 $25 by way of credit card, $100 through P2P switch, $300 by way of money order, or $1,000 through bank wire.
ReplyDelete