-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServletContext 414行getRealPath方法中resourceManager是null #34
Comments
springboot2.7.18我刚试了下,resourceManager不是null呢。 可选配置,不配置就等于临时文件夹server.netty.http-servlet.basedir=资源文件夹 |
方便给个截图或者demo让我复现一下吗 |
可能是我们使用了beetl Html引擎 |
application.yml |
我明天试下,下午开会了 |
解决了,晚上发版到maven中央仓 2.3.18 |
优秀的大佬,那我明天就从tomcat切换过来试试,支持一波。 |
强呀,的确可以了。可以稍微优化一下pom.xml引入吗? |
可以,下个版本2.7.19发版时,改成强依赖 |
期待,这样子更方便改造pom.xml |
环境:springboot2.7.18
请问如何初始化ServletContext 中的resourceManager呢?
让他读取static、template资源文件夹,谢谢
The text was updated successfully, but these errors were encountered: