java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext
由于最近在学习搭建maven的私服搭建,但是由于第一次的nexus install,nexus start,nexus stop 都没有什么问题,就觉得已经搭建好了,但是隔了几天在重新nexus start的时候报错了java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext,通过百度,有人说是jdk版本9以后因为JAXB-API是java ee的一部分,缺少了这部分,然后我将jdk版本下降到1.8还是宝一样的错,最后也是百度得知,将javax.activation-1.2.0.jar 和jaxb-api-2.3.0.jar
包放到nexus的lib下就好了(这两个包的版本没什么要求)。