This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

ClassNotFoundException: TypeSystemHolder  RSS feed

 
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>
 
Time is mother nature's way of keeping everything from happening at once. And this is a tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!