-
Notifications
You must be signed in to change notification settings - Fork 824
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
在线debug断点添加失败register breakpoint fail, File was not found in the executable #40
Comments
通过 发现我springboot jar包里面的类不在 bistoury 扫描的目录范围内
而我的springboot应用真实在tomcat目录为:
这两个目录并不一样 |
我们现在是按照默认的springboot解压后的目录结构处理的,xxxx/xxx/springboot-tomcat-tmp/cache/tomcat_webapp/META-INF/MANIFEST.MF这个文件你那里有吗,有的话可以把内容贴一下 |
我测试机器上面的信息:
MANIFEST.MF 里面的内容:
|
我们这里需要两个目录,一个是classes目录,一个是lib目录,我们想到的一个方案就是从MANIFEST.MF中读取这两个目录,正常的打包方式MANIFEST.MF文件里面是有这两个目录的,但是像你这种打包方式我们可以知道classes目录(根目录),但是lib目录在什么地方啊 |
问题己解决;主要的问题是mvn打包插件引起的。
我用于测试的项目是一个老项目引用的
这样的配置会引用1.3.0版本Sprinboot父工程中申明的版本,具体信息见:
可以看到这里默认定义了
|
那有办法支持老版本的打包方式吗?我们这想大规模推广的话,肯定会遇到这种兼容性的问题,建议作为一个重要特性提供 |
想在开发机上面试下在线debug功能,但添加断点时报错
register breakpoint fail, File was not found in the executable
Springboot jar工程是用jdk1.7版本启动的
bistoury 是用jdk1.8启动的.
请帮下是什么原因导致失败.
The text was updated successfully, but these errors were encountered: