[BUG]Spring Boot 2.1.8.RELEASE集成Ureport 報錯

idea繼承ureport插件報錯,感謝博主的分享https://blog.csdn.net/fuwen1989/article/details/100928937
項目啓動時候報
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘ureport.fontBuilder’ defined in class path resource [ureport-core-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
原來是pom配置文件的引包問題我原來的配置

org.apache.commons
commons-lang3
3.5

經常報錯,偶爾還能好使,
換成配置

org.apache.commons
commons-lang3
3.8

就能正常啓動了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章