Hi,

 

Sorry; please ignore previous enquiry. I found the solution. I wasn’t adding to my classpath at the correct level, so the package structure was wrong. I needed to add the %PROJECT_HOME%\resources  folder so that it would put the generated TypeSystemHolder class in the correct package.

 

Regards,

Ken

 


From: Ken Campbell [mailto:[EMAIL PROTECTED]
Sent: 03 April 2006 14:46
To: [email protected]
Subject: [Axis2] XmlBeans ClassNotFoundException

 

Hi,

 

Sorry to be back with more problems so soon.

 

After generating code using WSDL2Java with –d xmlbeans, I’ve been trying to run some experiments using the generated classes. However, I’m getting a ClassNotFoundException :

 

Cannot load SchemaTypeSystem. Unable to load class with name schemaorg_apache_xmlbeans.system.s68C41DB812F52C975439BA10FE4FEE54.TypeSystemHolder. Make sure the generated binary files are on the classpath.

 

The following link suggests a solution:

 

http://www.mail-archive.com/[email protected]/msg01232.html

 

..but I don’t understand… L

 

I’ve made sure to put the schemaorg_apache_xmlbeans packages on my Eclipse build path, but I’m still getting the same error.

 

Has anyone any experience of this?

 

Regards,

Ken

Reply via email to