I've searched all over the internet for a solution, but none solved the problem.
For example: under window-preferences-java-
compiler , remove the check mark before Add line number attributes.., compile, and check it again. Waiting doesn't help.
Finally, after careful analysis,
the class marked by @Component is
automatically instantiated through <!-- auto-scanned package name--> <context:component-scan base-package="com.XXX" />, and the breakpoint It is in a certain method of these classes, so the
solution is: remove @Component, the most reasonable solution, (of course it is suitable for this in my project, this solution may not be suitable for any situation, just for reference!)
Eclipse Unable to install breakpoint in XXX solution
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326259901&siteId=291194637
Recommended
Ranking