1. 程式人生 > >idea執行springboot專案沒報錯,打成jar包執行報錯java.lang.IllegalArgumentException: name

idea執行springboot專案沒報錯,打成jar包執行報錯java.lang.IllegalArgumentException: name

idea執行springboot專案沒報錯,打成jar包執行java.lang.IllegalArgumentException: name

解決方法:

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.bx.Application]; nested exception is java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration

Caused by: java.lang.IllegalArgumentException: name