这两天用到ureport,就想着学习一下,结果视频教程,配置资料什么的都是老的,好不容易找到几篇springboot配置的,但还是配置不上,折腾了两天,问题如下。
在配置ureport配置文件的时候,这里怎么样都会报错,强制转换为servlet类型,也是运行不了,报错javax.servlet找不到的错误。后面经过不断尝试,是springboot版本问题,版本超过3.0就不行,所以要更改springboot版本
改成3.0以下就能成功运行。
写出来让更多人借鉴一下,不然像我折腾两天真受不了。