Issue
I'm using Netbeans on Ubuntu. I opened a Wicket application. My project had three packages. But I deleted one. It has EventCollection. Now My Project has two packages. Now I want to run it but it is not run. It gives error.
I did debug. It gives this error:
Attaching to localhost:11555
Not able to submit breakpoint LineBreakpoint EventCollection.java : 95, reason: The breakpoint is set outside of any class.
Invalid LineBreakpoint EventCollection.java : 95
User program running
Than name of existed package change with Events and name of CategoryCollection.java change with EventCollection.java
Solution
Remove that breakpoint from the IDE. I don't use NetBeans but this question seems to suggest that you can find this option under the Window / Debugging / Breakpoints menu. remove breakepoint in netbeans 6.8.
Also, these links might be useful to you:
NetBeans Docs & Support
Getting Started With the NetBeans IDE Tutorial
Answered By - Xavi López
Answer Checked By - David Marino (JavaFixing Volunteer)