Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.v2.model.annotation.AnnotationReader

前端 未结 5 1432
暖寄归人
暖寄归人 2020-12-09 15:25

You might think that following issue is very simple, but I don\'t know what I did wrong here. I feel I added required dependencies. Haven\'t I?

Could anyone please s

5条回答
  •  心在旅途
    2020-12-09 15:45

    Although Issue is very old but still answering. Root cause is that com.sun.xml.bind is obsolete now. org.glassfish.jaxb is latest reference implementation of JAXB API. Using below JAXB RI maven dependency would solve the issue.

        
            org.glassfish.jaxb
            jaxb-runtime
            2.2.11
        
    

提交回复
热议问题