I tried with that, because I read it in a forum.

Thanks for your observation

James Abley <[EMAIL PROTECTED]> escribió: Just to point out - in the initial 
question, it isn't surprising that 
commenting out line 23 had no effect, since the stack trace showed that 
it was line 21 that was demonstrating the problem in the Unmarshaller 
construction.

James

Iker G.A. wrote:
> I added:
> 
> *commoms-loggin-1.1.jar
> *xerces.jar (From Xerces-J-tools-1.4)
> 
> It seems that works, that is encouraging!!
> 
> Thank you
> 
> */Werner Guttmann /* escribió:
> 
>     Which is not sufficient, as you are going to need commons-logginf from
>     Jakarta.
> 
>     Werner
> 
>     Iker G.A. wrote:
>      > I´ve those *.jar in the classpath:
>      >
>      > *castor-1.1
>      > *castor-1.1-codegen
>      > *castor-1.1-codegen-anttask
>      > *castor-1.1-commons
>      > *castor-1.1-ddlgen
>      > *castor-1.1-examples-sources
>      > *castor-1.1-xml
>      >
>      > Thank you very much
>      >
>      > */Ralf Joachim /* escribió:
>      >
>      > Do you have commons-logging.jar on your classpath?
>      >
>      > Ralf
>      >
>      >
>      > Iker G.A. schrieb:
>      > > Hi, I got this error:
>      > >
>      > > Exception in thread "main" java.lang.NoClassDefFoundError:
>      > > org/apache/commons/logging/LogFactory
>      > > at
>      > > org.exolab.castor.util.Configuration.(Configuration.java:103)
>      > > at
>      > >
>     org.exolab.castor.xml.Unmarshaller.initConfig(Unmarshaller.java:280)
>      > > at org.exolab.castor.xml.Unmarshaller.(Unmarshaller.java:231)
>      > > at org.exolab.castor.xml.Unmarshaller.(Unmarshaller.java:218)
>      > > at UseStudent.main(UseStudent.java:21)
>      > >
>      > > The code that corresponds to UseStudent.java line 21 is:
>      > >
>      > > 21 Unmarshaller h_unmarshaller = new Unmarshaller(Student.class);
>      > > 22
>      > > 23 //h_unmarshaller.setIgnoreExtraElements(true);
>      > > 24
>      > > 25 Student student = (Student) h_unmarshaller.unmarshal(in);
>      > >
>      > >
>      > > If I uncomment the 23rd line I get the same error.
>      > >
>      > >
>      >
>     ------------------------------------------------------------------------
>      > >
>      > > LLama Gratis a cualquier PC del Mundo.
>      > > Llamadas a fijos y móviles desde 1 céntimo por minuto.
>      > > http://es.voice.yahoo.com
>      > >
>      > >
>      >
>      > --
>      >
>      > Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
>      > Ralf Joachim
>      > Raiffeisenstraße 11
>      > 72127 Kusterdingen
>      > Germany
>      >
>      > Tel. +49 7071 3690 52
>      > Mobil: +49 173 9630135
>      > Fax +49 7071 3690 98
>      >
>      > Internet: www.syscon.eu
>      > E-Mail: [EMAIL PROTECTED]
>      >
>      > Sitz der Gesellschaft: D-72127 Kusterdingen
>      > Registereintrag: Amtsgericht Stuttgart, HRB 382295
>      > Geschäftsleitung: Jens Joachim, Ralf Joachim
>      >
>      > ---------------------------------------------------------------------
>      > To unsubscribe from this list please visit:
>      >
>      > http://xircles.codehaus.org/manage_email
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > LLama Gratis a cualquier PC del Mundo.
>      > Llamadas a fijos y móviles desde 1 céntimo por minuto.
>      > http://es.voice.yahoo.com
>      >
>      >
> 
> 
>     ---------------------------------------------------------------------
>     To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> ------------------------------------------------------------------------
> 
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com 
>  
> 


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email



                
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com

Reply via email to