Hi everybody,
I'm trying to use xmlbeans on a fairly complex schema
(http://research.microsoft.com/projects/secpal/docs/SecPALSchema.xsd).
My "install" of xmlbeams 2.3.0 seems to work fine as I can run the
"easypo" sample.
With this schema(s), the .jar is apparently created correctly (no error
as far as I could tell), I add it in the path of my project. But when I
try to use it I get:
Exception in thread "main" java.lang.ExceptionInInitializerError
at
com.microsoft.schemas.x2007.x02.declarativeSecurity.PolicyDocument$Facto
ry.newInstance(PolicyDocument.java:45)
at org.secpal.test.Serialisation2.main(Serialisation2.java:19)
Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem.
Unable to load class with name
schemaorg_apache_xmlbeans.system.sFE919C74AB0DB9C5EAAB5EA9B1E50CD8.TypeS
ystemHolder. Make sure the generated binary files are on the classpath.
at
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:783)
at
com.microsoft.schemas.x2007.x02.declarativeSecurity.PolicyDocument.<clin
it>(PolicyDocument.java:20)
... 2 more
Caused by: java.lang.ClassNotFoundException:
schemaorg_apache_xmlbeans.system.sFE919C74AB0DB9C5EAAB5EA9B1E50CD8.TypeS
ystemHolder
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769)
... 3 more
Could somebody tell me if it is me doing something wrong or is there
another issue (and potentially a way to work on it)?
Thanks,
pierre
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]