半猫Coder
半猫Coder
看代码里就是 switch case 啊,很朴素但是很简单
> I encountered a similar problem. I modified the source code, changed the thread context class loader to SpringBoot's class loader, and then solved the problem > > ```java >...
另外在 SpringBoot 3.0.4 中修复这个BUG的方式,虽然也是通过 `URLDecoder.decode` 进行解码,但是在解码之前他先将路径中的空格替换为 `%20` 字符,这个行为我不理解,为什么需要这一步,想请教下大佬有没有思路? 源码定位:`org.springframework.core.io.support.PathMatchingResourcePatternResolver#convertClassLoaderURL` 