Here is the best answer for netbeans; then I'll use the pom.xml from there: Daryl Nickerson
Joined: 23 May 2013
Posts: 1PostPosted: Thu May 23, 2013 4:50 pm Post subject: Had the same problem, Brian's suggestion worked Reply with quote
Had the same problem, Brian's suggestion worked. (NetbBeans IDE 7.3)
To clarify, right-click the Libraries folder in the project viewer, select properties, in Project Properties window, select Libraries, click Add Jar/Folder button, select ALL jar files in your source folder (ctrl-a), not just the folder, and click Open to add them. This may be overkill, but it worked and I was able to compile and run. Thanks, Brian.
Good on Daryl on netbeans news group!