• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

ClassNotFoundException: TypeSystemHolder

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I have a simple client program to invoke a web service on Axis2. The following is the code :



The services are succesfullt deployed on Axis2 Server and its ready to be invoked. But wen I run this client program , it gives ne the following Exception :




I am not able to understand the followling part :
Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.sEE23823DC08BE88C8EAD145415BC606F.TypeSystemHolder

The build path includes the concerned jar as well : xmlbeans-2.3.0.jar

I am stuck in this. Please help.

Thanks
 
Sumeet Chakraborty
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I managed to rectify the above exception by adding the folder containing the clas to the class path.

But after that I am facing the following issue :




I really dont have any clue for this . Please help
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Take a look at this link which shows some JAR files in which the missing class can be found:
http://www.jarfinder.com/index.php/java/info/org.apache.xmlbeans.SchemaTypeSystem
Perhaps you are missing one of those JARs?
Best wishes!
 
Sumeet Chakraborty
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ivan. But thats not the problem. I already confirmed the availability of this jar and made sure its not out of reach to my program. But its just not happenng.

I am doubting .. is this any kind of compatibility problem ??

Please help.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[size=7][/size]Can you please let me know how you solved this problem?
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys - Do we have a solution to this problem. I am facing similar issues.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okkkk , I got the same error too
However, I just fixed it, and connected to share point website for the first time

Basically I did what Sumeet says above... which in my case added the resource folder to the class path...
the resource folder should contain the missing xsb files example "schemaorg_apache_xmlbeans.system..........TypeSystemHolder"

good luck!
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Added this in your pom.xml. error wil go

<!--
this tells maven to copy the openejb-javaagent jar into your target/
directory
-->
<!-- where surefire can see it -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<id>copy</id>
<phase>process-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-javaagent</artifactId>
<version>3.0-beta-2</version>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>target/generated-sources/axis2/wsdl2code/resources</directory>
</resource>
<resource>
<directory>target/generated-sources/xmlbeans/resources</directory>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
</build>
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic