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.<clinit>(Configuration.java:103)
at
org.exolab.castor.xml.Unmarshaller.initConfig(Unmarshaller.java:280)
at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:231)
at org.exolab.castor.xml.Unmarshaller.<init>(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
<http://us.rd.yahoo.com/mail/es/tagline/messenger/*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