使用Eclipse启动调试Spring项目时,出现提示:
Unable to install breakpoint in **.*Controller
E
n
h
a
n
c
e
r
B
y
S
p
r
i
n
g
n
g
C
G
L
I
B
EnhancerBySpringngCGLIB
EnhancerBySpringngCGLIB48c1f030 due to missing line number attributes. Modify compiler options to generate line number attributes.
Reson:
Absent Line Number Information
–原因:尝试加入断点时进行行号检查,无法定位行号
–解决:
尝试取消勾选首选项中的复选框
Window > Preferences > Java > Debug > Warn when unable to install breakpoint due to missing the line number attributes