Unable to install breakpoint xxx ... to missing line number attributes
问题
新环境中使用 DEBUG 模式跑项目时发现报错了,错误截图如下:

问题翻译
无法安装断点
incom.sgcc.sgwpdm.mobile appstore controller.AppStorecontroller
由于缺少行号属性,增强器通过spring CGLIB$$463234cd修改编译器选项来生成行号属性。
原因:
缺少行号信息
解决办法
- 在启动Debug时取消所有的断点,最后启动完后再次打断点既可以了;
- 将弹出框中的“Dont`t tell me again”勾选上也行;
《END》