XMLbeans does not only generate classes, but lots of additional 
binaries, which must be presesnt on the classpath.

Look through your output folder, and you will find an additional folder 
with this stuff.

Add it to your runtime classpath, and you may be done :-)

--cg

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Thursday, October 08, 2009 12:29 PM
> To: [email protected]
> Subject: Cannot load SchemaTypeSystem
> 
> Hi there,
> 
> I finally got Axis2 to generate the appropriate stubs etc for me, 
finally
> having to use the command line tool, and I chose XMLBeans as my data
> binding
> solution as I have worked with it before and found it real easy to 
use.
> 
> After having to hunt around for some jar files I can finally run a 
servlet
> to test out the generated code.
> 
> I start of the servlet with the following:
> GetPointsByRadiusDocumentImpl pointsByRadius = new
> GetPointsByRadiusDocumentImpl(GetPointsByRadiusDocument.type);
> 
> However, when running the servlet I get the exception mentioned above 
i.e.
> 
> java.lang.RuntimeException: Cannot load SchemaTypeSystem. Unable to 
load
> class with name
> 
schemaorg_apache_xmlbeans.system.sEFB7B44E94FC7E3BBFB970E23CA0512F.TypeS
ys
> te
> mHolder. Make sure the generated binary files are on the classpath.
> 
> Any help will be much appreciated.
> 
> Thanks!
> Schalk
> 
> AfriGIS e-mail facility may not be used for the distribution of chain
> letters or offensive email. AfriGIS hereby distances itself from and
> accepts no liability for the unauthorized use of its e-mail facility 
or
> the sending of e-mail communications for other than strictly business
> purposes. AfriGIS furthermore disclaims liability for any unauthorized
> instruction for which permission was not granted. Required as per Sec 
50
> Companies Act 61 of 1973 Afrigis Pty LTD Reg No 1997/0067/1607.
> 
> 
> !DSPAM:4acdbf1b326661199011006!
> 
> 


Reply via email to