I'm not sure of your usecase here, but how are you compiling and
packaging your schemas?
Is the compiled schema all in one jar? My guess is probably not, but
can you confirm?
-jacobd

On Mon, Dec 5, 2011 at 4:30 PM, MurphyR <murphyricha...@gmail.com> wrote:
>
> Environment:
> Axis2, Tomcat 6, hibernate, SQLserver2008.
>
> Task
> I am exposing the PersonManager.AddPerson() method as a Webservice.
>
> Observations:
> I get the following error:
>
> Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem. Unable
> to load class with name
> schemaorg_apache_xmlbeans.system.sB96777C4495A76B8788F8D7E0FEDDCED.TypeSystemHolder.
> Make sure the generated binary files are on the classpath.
> at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:783)
> at
> org.openhie.openempi.configuration.xml.MpiConfigDocument.<clinit>(MpiConfigDocument.java:20)
> ... 31 more
> Caused by: java.lang.ClassNotFoundException:
> schemaorg_apache_xmlbeans.system.sB96777C4495A76B8788F8D7E0FEDDCED.TypeSystemHolder
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
> at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769)
> ... 32 more
>
>
> I placed the "schemaorg_apache_xmlbeans" directory in the "WEB-INF\classes"
> directory of the axis2 webapp and still I get the same error as above. Looks
> like it did not find it, I request to please let me know the correct path. I
> need help on this.
>
> Thanks in Advance
> --
> View this message in context: 
> http://old.nabble.com/schemaorg_apache_xmlbeans.system.sB96777C4495A76B8788F8D7E0FEDDCED.TypeSystemHolder-tp32921399p32921399.html
> Sent from the Xml Beans - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org
> For additional commands, e-mail: user-h...@xmlbeans.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: user-h...@xmlbeans.apache.org

Reply via email to