Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
在我使用spring-boot 整合paoding-rose-jade是遇到一个问题.
整合完成后,我可以通过main方法直接启动项目,但是无法通过java -jar 的方式启动springboot项目.
paoding-rose-load 有个加载 MANIFEST.MF 文件内容的过程,他的内容中有两句是这样的
Spring-Boot-Classes: BOOT-INF/classes/
Spring-Boot-Lib: BOOT-INF/lib/
所以就造成了在加载jar包资源时,会存在这样的问题
jar包的资源路径是 Test.jar!/BOOT-INF/lib/xxx.jar.系统会]抛出文件找不到的异常
所以我加了一个判断文件是否存在一个判断
或者还有启动的解决办法是我没找到的.
我的目的是实现springboot整合paoding-rose-jade