Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

Error while building Java bindings for the vCloud API via JAXB

$
0
0

I am trying to generate Java binding classes for Vcloud 27 schema files.

http://pubs.vmware.com/vcd-820/topic/com.vmware.vcloud.api.reference.doc_27_0/schema-files.zip

 

I followed the guide on HOWTO: Build Java bindings for the vCloud API via JAXB  but i got the following error.

 

This is the command i ran

 

${JAVA_HOME}/bin/xjc -d <target dir> -catalog etc/schemas/external/catalog.xml -b etc/1.5/schemas/vcloud/vcloud.xjb -b etc/1.5/schemas/vcloud/ovf.xjb -b etc/1.5/schemas/extension/vmwextensions.xjb etc/1.5/schemas/master/master.xsd etc/1.5/schemas/extension/vmwextensions.xsd

This is the error i got

[ERROR] src-resolve: Cannot resolve the name 'vcloud-ext:VimObjectRefsType' to a(n) 'type definition' component.

  line 331 of file:/c:/user/schema-files/1.5/schemas/admin/providerVdc.xsd

 

Failed to parse a schema.

 

What should i do to fix this error.


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>