NoClassDefFoundError: org/objectstyle/ashwood/graph/Digraph

From: Mike Kienenberger (mkienen..laska.net)
Date: Tue Sep 09 2003 - 20:01:23 EDT

  • Next message: Andrus Adamchik: "Re: NoClassDefFoundError: org/objectstyle/ashwood/graph/Digraph"

    I seem to be missing something. I'm using cayenne-nodeps.jar,
    velocity-1.3.1.jar, jakarta-oro.jar, log4j-1.2.8.jar. (Struts 1.1 &
    Velocity environment)

    Where's org.objectstyle.ashwood.graph.Digraph? Not in cayenne-nodeps.jar
    and not documented on

    ...\cayenne-1.0rc2\doc\userguide\install\postinstall.html

    StandardContext[]: Exception sending context initialized event to listener
    instance of class com.gvea.cayenne.ebpp.CustomConfiguration
    java.lang.NoClassDefFoundError: org/objectstyle/ashwood/graph/Digraph
            at org.objectstyle.cayenne.access.DataNode.setAdapter(DataNode.java:208)

    web.xml:
    ========================
       <listener>
          <listener-class>
    com.gvea.cayenne.ebpp.CustomConfiguration</listener-class>
       </listener>
    ========================

    com.gvea.cayenne.ebpp.CustomConfiguration:
    ========================
    public class CustomConfiguration extends WebApplicationListener {
            public CustomConfiguration() {
                    super();
                    this.configureLogging();
            }

            protected void configureLogging() {
                    // debug configuration
                    Configuration.setLoggingLevel(Level.WARN);
            }
    }
    ========================

    cayenne.xml
    ========================
    <?xml version="1.0" encoding="utf-8"?>
    <domains project-version="1.0">
    <domain name="Ebpp">
            <map name="OnlineBilling" location="OnlineBilling.map.xml"/>
            <node name="Oracle 9i"
                     datasource="Oracle 9i.driver.xml"
                     adapter="org.objectstyle.cayenne.dba.oracle.OracleAdapter"
                     factory="org.objectstyle.cayenne.conf.DriverDataSourceFactory">
                            <map-ref name="OnlineBilling"/>
             </node>
    </domain>
    </domains>
    ========================

    Oracle 9i.driver.xml:
    ========================
    <driver project-version="1.0" class="oracle.jdbc.driver.OracleDriver">
            <url value="jdbc:oracle:thin..xxxx.w2k.gvea.com:1521:xxxxx"/>
            <connectionPool min="1" max="1" />
            <login userName="xxxxx" password="xxxxx"/>
    </driver>
    ========================

    StandardContext[]: Exception sending context initialized event to listener
    instance of class com.gvea.cayenne.ebpp.CustomConfiguration
    java.lang.NoClassDefFoundError: org/objectstyle/ashwood/graph/Digraph
            at org.objectstyle.cayenne.access.DataNode.setAdapter(DataNode.java:208)
            at
    org.objectstyle.cayenne.dba.oracle.OracleAdapter.createDataNode(OracleAdapter.java:283)
            at
    org.objectstyle.cayenne.conf.RuntimeLoadDelegate.shouldLoadDataNode(RuntimeLoadDelegate.java:287)
            at
    org.objectstyle.cayenne.conf.ConfigLoader$NodeHandler.init(ConfigLoader.java:298)
            at
    org.objectstyle.cayenne.conf.ConfigLoader$DomainHandler.startElement(ConfigLoader.java:224)
            at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
            at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
    Source)
            at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
    Source)
            at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
    Source)
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
            at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
            at
    org.objectstyle.cayenne.conf.ConfigLoader.loadDomains(ConfigLoader.java:114)
            at
    org.objectstyle.cayenne.conf.DefaultConfiguration.initialize(DefaultConfiguration.java:185)
            at
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:268)
            at
    org.objectstyle.cayenne.conf.WebApplicationListener.setConfiguration(WebApplicationListener.java:136)
            at
    org.objectstyle.cayenne.conf.WebApplicationListener.contextInitialized(WebApplicationListener.java:101)



    This archive was generated by hypermail 2.0.0 : Tue Sep 09 2003 - 19:58:29 EDT