Spring boot error:java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy

后端 未结 9 983
小蘑菇
小蘑菇 2020-12-05 17:59

I want to use spring boot to start my application ,but after i add some relative jar at pom.xml,it return this error:and i thank may be it caused by some conflict jars?

9条回答
  •  情话喂你
    2020-12-05 18:20

    I had the same issue with spring-boot-starter-parent 2.0.0.M6.

    The solution

    was to remove

    
        org.apache.cxf
        cxf-spring-boot-starter-jaxrs
        3.1.11
    
    

    and include

    
        org.springframework.boot
        spring-boot-starter-web-services
    
    

    instead.

提交回复
热议问题