springboot調用引用axis調用webservice時,出錯如下:
Handler dispatch failed; nested exception is java.lang.ExceptionInInitializerError
Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis.client.AxisClient
這個問題研究了兩天,最後發現 commons-logging是包多加載了
刪除就可以了
https://www.cnblogs.com/XM-CHC/p/8920454.html
這裏也有相關的報錯,只不過 commons-logging加載的位置不一樣。切記不要重複加載就可以了!