No executable code found, intellijexecutable
Scenario Description: ant project + IntelliJ Idea to copy the compiled class file to the WEB-INF/classes directory, breakpoint has been unavailable
The IntelliJ community does not have a clear answer when I check a lot of information on the Internet.
Cause: IntelliJ does not think that the class file in the WEB-INF/classes is compiled and generated, so the breakpoint is unavailable.
Solution: declare the directory after the class file is compiled.
Solution:
Click project, press F4,
Switch to the Paths column. Compiler output selects the first item by default. If the first item is selected, make will compile the class into the dist directory of the project (depending on the ant configuration file build. xml settings ),
We select the second project and compile the class into the project \ WEB-INF \ classess
In this way, the web server can be started to use breakpoints in IntelliJ. In addition, in IntelliJ, the Code breakpoint must go through make.