javaextjsjava-9extjs6extjs6.5

Generate ExtJS 6.5 web app: [ERR] javax/xml/bind/DatatypeConverter


I am using Java 9.0.4, Sencha ExtJS 6.5.3.6 trial, at directory Desktop, I run command

sencha -sdk /Users/donhuvy/Documents/Setup/Software\ development/ExtJS/ext-6.5.3  generate app --ext --modern accounting_vy ./vy_sencha

I see error

Sencha Cmd v6.5.3.6
[INF] Copying framework to /Users/donhuvy/Desktop/vy_sencha/ext
[ERR] javax/xml/bind/DatatypeConverter

enter image description here

How to fix it?


Solution

  • The JAXB APIs (include class javax.xml.bind.DatatypeConverter) now belong to Java EE APIs, and it is not existing in Java SE 9.

    Solution: Install JDK 8, set it is default.

    Reference: http://openjdk.java.net/jeps/320