java.lang.NoClassDefFoundError: com/codename1/build/client/CodeNameOneBuildTask$2

12 views
Skip to first unread message

Gareth Murfin

unread,
Jul 10, 2018, 5:14:54 AM7/10/18
to CodenameOne Discussions

My client has taken my source code and wishes to build it themselves on server, but theyre getting this error (note theyre using free account is that relevant?)


Your build was submitted follow the status on: https://www.codenameone.com/build-server.html
D:\Projects\MerlinCrossPlatform\MERLIN2\build.xml:338: 
java.lang.NoClassDefFoundError: com/codename1/build/client/CodeNameOneBuildTask$2
 at com.codename1.build.client.CodeNameOneBuildTask.execute(CodeNameOneBuildTask.java:567)
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
 at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
 at org.apache.tools.ant.Task.perform(Task.java:348)
 at org.apache.tools.ant.Target.execute(Target.java:435)
 at org.apache.tools.ant.Target.performTasks(Target.java:456)
 at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
 at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
 at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
 at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
 at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Caused by: java.lang.ClassNotFoundException: com.codename1.build.client.CodeNameOneBuildTask$2
 at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1388)
 at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1337)
 at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1089)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
 ... 16 more
BUILD FAILED (total time: 35 seconds)

Shai Almog

unread,
Jul 11, 2018, 12:07:54 AM7/11/18
to CodenameOne Discussions
This was triggered by an update. They should try sending again.

Gareth Murfin

unread,
Aug 1, 2018, 7:01:47 PM8/1/18
to CodenameOne Discussions
great stuff i think it is working well for them now, they are giddy at the idea of such easy ios/android builds, the magic is real :) 
Reply all
Reply to author
Forward
0 new messages