I just stumbed across this article which helped me:
How to fix the libs
Instructions for Netbeans 8
Open:
Tools -> Options -> Java -> Ant
Paste the following in Properties:
libs.CopyLibs.classpath=[Netbeans Install]NetBeans6.5java2antextraorg-netbeans-modules-java-j2seproject-copylibstask.jar