xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MurphyR <murphyricha...@gmail.com>
Subject Re: schemaorg_apache_xmlbeans.system.sB96777C4495A76B8788F8D7E0FEDDCED.TypeSystemHolder
Date Tue, 06 Dec 2011 17:15:32 GMT

Thank you. You are a life saver!!
You are correct, I did not pack the "schemaorg_apache_xmlbeans\*.*" in Jar.
After I did that and placed the jar in the lib folder, all iz well.

Thanks again.


Jacob Danner-2 wrote:
> 
> 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 <murphyrichards@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-unsubscribe@xmlbeans.apache.org
>> For additional commands, e-mail: user-help@xmlbeans.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/schemaorg_apache_xmlbeans.system.sB96777C4495A76B8788F8D7E0FEDDCED.TypeSystemHolder-tp32921399p32924608.html
Sent from the Xml Beans - User mailing list archive at Nabble.com.


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


Mime
View raw message