One of the generated schema objects appears to be looking for an "index.xsb" 
file, but I don't see this in the generated code.

The generated source tree looks like:

com/foo (our generated Java classes)
schema/system/s18393419346C7982F9F908EC0D0397A4/TypeSystemHolder.java

This was generated by the xmlbeans ant task, but when I used the command line 
'scomp' it generated a bunch of other stuff, such as .xsb files.  I'm not 
sure what this is for or how to get the ant task to generate all these.

Any ideas?

Here's the exception:

Caused by: java.lang.RuntimeException: Could not instantiate 
SchemaTypeSystemImpl (java.lang.reflect.InvocationTargetException): is the 
version of xbean.jar correct?
        at 
schema.system.s18393419346C7982F9F908EC0D0397A4.TypeSystemHolder.loadTypeSystem(Unknown
 
Source)
        at 
schema.system.s18393419346C7982F9F908EC0D0397A4.TypeSystemHolder.<clinit>(Unknown
 
Source)
        ... 63 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        ... 65 more
Caused by: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled 
schema: Could not locate compiled schema resource 
schema/system/s18393419346C7982F9F908EC0D0397A4/index.xsb 
(schema.system.s18393419346C7982F9F908EC0D0397A4.index) - code 0
        at 
org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.<init>(SchemaTypeSystemImpl.java:1069)
        at 
org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.initFromHeader(SchemaTypeSystemImpl.java:271)
        at 
org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.<init>(SchemaTypeSystemImpl.java:151)
        ... 69 more

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to