
Hello.java is not in the maven source path src/main/java, so jdt will not persist the corresponding .class file in the target directory. When the user clicks the Run/Debug code lens, it will pop up Error: Could not find or load main class Hello. This sometimes will confuse the user, it's better that the debugger doesn't show the code lens.
Hello.java is not in the maven source path
src/main/java, so jdt will not persist the corresponding .class file in thetargetdirectory. When the user clicks the Run/Debug code lens, it will pop upError: Could not find or load main class Hello. This sometimes will confuse the user, it's better that the debugger doesn't show the code lens.