?
Solved

Provider com.bea.xml.stream.MXParserFactory not found

Posted on 2006-05-23
15
Medium Priority
?
3,041 Views
Last Modified: 2008-03-03
I set the class path, restarted the pc but I still face the error,
Thanks
0
Comment
Question by:Eugenio_Magnone
  • 8
  • 7
15 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 2000 total points
ID: 16743226
You may need some StAX jars

http://dist.codehaus.org/stax/jars/
0
 

Author Comment

by:Eugenio_Magnone
ID: 16743275
Thanks, I downloaded "stax1.1.2-dev.jar"
The next step ?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16743300
See if it's in there

jar tf  stax1.1.2-dev.jar | find "MXParserFactory"
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Eugenio_Magnone
ID: 16743346
I found 10 files with the suggested string, may I import something like:
com\bea\xml\stream\MXPARSERFactory.class ?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16743476
Put that jar file in the classpath with your other one. Don't forget the separator
0
 

Author Comment

by:Eugenio_Magnone
ID: 16743518
I added to:
CLASSPATH
\C:\tech\struts\Contribution\lib\xbean.jar\
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16743574
The separator is

;
0
 

Author Comment

by:Eugenio_Magnone
ID: 16743643
CLASSPATH
C:\Programmi\Java\jre1.5.0_06\lib\ext\QTJava.zip;
C:\Programmi\Java\jre1.5.0_06\lib\ext\QTJava.zip;
C:\tech\struts\Contribution\lib\xbean.jar;

thanks for being patien
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16743765
>>I found 10 files with the suggested string

Where - in stax1.1.2-dev.jar?
0
 

Author Comment

by:Eugenio_Magnone
ID: 16743790
The stax1.1.2-dev.jar is in:
C:\tech\struts\Contribution\lib
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16743803
Then you should add

;C:\tech\struts\Contribution\lib\stax1.1.2-dev.jar

to the classpath and remove the duplicate QTJava.zip entry
0
 

Author Comment

by:Eugenio_Magnone
ID: 16743843
Done
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16743867
Open a new console window and recompile
0
 

Author Comment

by:Eugenio_Magnone
ID: 16743944
No more error, no problems with the compilation.

Thanks a lot for your assistance
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16743968
:-)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month17 days, 12 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question