Women in Technology

Hear us Roar



Article:
  XML Data Binding with Castor
Subject:   annoying error when trying to run example
Date:   2005-06-09 10:24:24
From:   jmgreen7
Hey guys/girls,
When i try to run the readperson portion of the example, i keep getting this:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.exolab.castor.util.LocalConfiguration.<clinit>(LocalConfiguration.java:105)
at org.exolab.castor.xml.Unmarshaller.initConfig(Unmarshaller.java:272)
at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:225)
at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:212)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:736)
at Person.ReadPerson.main(ReadPerson.java:21)
anyone know why???
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • annoying error when trying to run example
    2005-08-05 07:14:13  HarienDeMel [View]

    u have to include "commons logging jar" in your classpath. u can download the latest version from http://jakarta.apache.org/commons/logging/

    regards,
    harien de mel