[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

就能正常启动了

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