| Author |
my package doesnt contain ObjectFactory.class or jaxb.index
|
moha mohamed
Greenhorn
Joined: Jul 27, 2009
Posts: 1
|
|
Hi
I am using JAxb in an a java application named "MyApplication"and i am working with netbeans 6.5.1
I try to display my xml file:
I get this errors
Please help me ,
|
 |
Devan Brahma
Ranch Hand
Joined: Jul 07, 2009
Posts: 46
|
|
hi ..
me too getting the same error...
this is my console..
please can anyone help me out...
thanks ,
Devan
|
->R§H<-
|
 |
Devan Brahma
Ranch Hand
Joined: Jul 07, 2009
Posts: 46
|
|
hellloooo..
is there any one here...
please help me out
,
Devan
|
 |
Ghiutzu Pop
Greenhorn
Joined: Sep 22, 2009
Posts: 1
|
|
Hello,
I also get this error and I have some clues (but not a solution, yet):
I generated some Java classes through JAXB using an XSD schema, and after that, I could serialize/deserialize to/from XML.
When I generated the Java classes using JAXB 2.0 (through Eclipse plugin XJC), another class, named ObjectFactory.java was generated.
I think this class is needed for marshalling/unmarshalling objects with JAXB 2.0; because later I tried marshaling objects with JAXB, but not through XJC plugin, therefore not having an ObjectFactory.java class.
If you need a tutorial on JAXB with XJC in Eclipse, you can check this tutorial I found, Using JAXB in Eclipse for XML serialization
|
 |
Balu Sadhasivam
Ranch Hand
Joined: Jan 01, 2009
Posts: 874
|
|
When I generated the Java classes using JAXB 2.0 (through Eclipse plugin XJC), another class, named ObjectFactory.java was generated.
Yes ObjectFactory.java is generated during xsd to java conversions. This is required for marshalling/Unmarshalling objects.
xjc utility comes with most of the JAXB implementations.
|
 |
 |
|
|
subject: my package doesnt contain ObjectFactory.class or jaxb.index
|
|
|