Hi Shai,

Runtime version is 11.0.9.1
Project SDK was 11.0.3, I changed it to 1.8 (I got a hint from this 
question 
https://stackoverflow.com/questions/63766151/codenameone-failed-to-generate-gui-source-with-system-jaxb
 
<http://Stackoverflow>) 
I don't know if that's the solution (I also fixed some other errors), but 
now Android build worked successfully.

Thank you! 

On Tuesday, January 12, 2021 at 10:21:02 PM UTC-5 Shai Almog wrote:

> Which version of the JDK are you using the run the IDE?
> Try explicitly adding jaxb to your JDK path. The removal of that library 
> caused a lot of pain here. We hope to remove the dependency on that in the 
> near future.
>
> On Tuesday, January 12, 2021 at 9:04:52 PM UTC+2 [email protected] wrote:
>
>> I am trying to run Android build, but I get this exception in build.xml:  
>> *java.lang.NoClassDefFoundError: 
>> com/sun/xml/bind/v2/model/annotation/AnnotationReader*
>>
>> Also, I don't know if it's relevant but I get this in log too:
>> *Processing GUI builder file: C:\Users\.....\Form.java*
>> *Attempting to generate GUI sources for 
>> C:\Users\......\res\guibuilder\com\......\Form.gui with System JAXB*
>> *Failed to generate Gui Source with System JAXB.  Will attempt using 
>> bundled JAXB.*
>>
>> How can I fix this problem?  
>>
>> Thank you. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a6f3ee8b-d06e-4203-8c03-ec2a465abee5n%40googlegroups.com.

Reply via email to