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

Reply via email to