Reputation: 47
Hi Ive been able to build my own hello project but ALL the demo projects fail with odd build error they cant find source which is in the Hello project see pics. Must be settings in Netbeans Project but I cant find appreciate any advice. Error /home/alistair/netbeansprojects/codenameone/CameraDemo/build.xml:51: taskdef class com.codename1.build.client.CodeNameOneBuildTask cannot be found using the classloader AntClassLoader[]:
https://i.sstatic.net/gBkeb.png
https://i.sstatic.net/YpYIM.png
Upvotes: 2
Views: 159
Reputation: 1161
I got this error when moving a project to a new computer. On the new machine, I had installed JDK 9, whereas on the old machine I had been working with Java 1.8. I downloaded Java 1.8 and selected it as the project SDK, and the error went away.
Upvotes: 0