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

后端 未结 9 985
小蘑菇
小蘑菇 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:08

    I had a same problem with this error :

     Error creating bean with name 'org.apache.cxf.spring.boot.autoconfigure.CxfAutoConfiguration': Initialization of bean failed; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
    

    I used below dependency in my POM.xml and the problem was solved :

     
        
            org.apache.cxf
            cxf-spring-boot-autoconfigure
            3.2.1
        
    

提交回复
热议问题