Re: problems with cayenne-cmd-app tutorial

From: Cheryl Norsworthy (cheryl_a_norsworth..aytheon.com)
Date: Fri Jun 10 2005 - 17:02:45 EDT

  • Next message: Cheryl Norsworthy: "Re: problems with cayenne-cmd-app tutorial"

    sorry, I forgot the other files

    Gentry, Michael (Contractor) wrote:

    >Are you using Cayenne 1.1? Could you add your Cayenne .xml files, too
    >(stripping your DB password out, of course)?
    >
    >Thanks,
    >
    >/dev/mrg
    >
    >
    >-----Original Message-----
    >From: Cheryl Norsworthy [mailto:cheryl_a_norsworth..aytheon.com]
    >Sent: Friday, June 10, 2005 4:18 PM
    >To: cayenne-use..bjectstyle.org
    >Subject: problems with cayenne-cmd-app tutorial
    >
    >
    >I've had a bunch of problems but am at the point of running with
    >
    >java test.Main metro
    >
    >and I get the following
    >java test.Main metro
    >INFO QueryLogger: Created connection pool:
    >jdbc:mysql://localhost/test_cayenne
    > Driver class: com.mysql.jdbc.Driver
    > Min. connections in the pool: 1
    > Max. connections in the pool: 1
    >Exception in thread "main" java.lang.NoClassDefFoundError:
    >org/aspectj/lang/Signature
    > at java.lang.Class.forName0(Native Method)
    > at java.lang.Class.forName(Class.java:164)
    > at
    >org.objectstyle.cayenne.conn.DriverDataSource.<init>(DriverDataSource.ja
    >va:93)
    > at
    >org.objectstyle.cayenne.conn.PoolManager.<init>(PoolManager.java:147)
    > at
    >org.objectstyle.cayenne.conf.DriverDataSourceFactory.getDataSource(Drive
    >rDataSourceFactory.java:128)
    > at
    >org.objectstyle.cayenne.conf.RuntimeLoadDelegate.shouldLoadDataNode(Runt
    >imeLoadDelegate.java:438)
    > at
    >org.objectstyle.cayenne.conf.ConfigLoader$NodeHandler.init(ConfigLoader.
    >java:377)
    > at
    >org.objectstyle.cayenne.conf.ConfigLoader$DomainHandler.startElement(Con
    >figLoader.java:264)
    > at
    >com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElemen
    >t(AbstractSAXParser.java:533)
    > at
    >com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanSta
    >rtElement(XMLNSDocumentScannerImpl.java:330)
    > at
    >com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$F
    >ragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:16
    >93)
    > at
    >com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.s
    >canDocument(XMLDocumentFragmentScannerImpl.java:368)
    > at
    >com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
    >1Configuration.java:834)
    > at
    >com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
    >1Configuration.java:764)
    > at
    >com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
    >a:148)
    > at
    >com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
    >actSAXParser.java:1242)
    > at
    >org.objectstyle.cayenne.conf.ConfigLoader.loadDomains(ConfigLoader.java:
    >114)
    > at
    >org.objectstyle.cayenne.conf.DefaultConfiguration.initialize(DefaultConf
    >iguration.java:185)
    > at
    >org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration
    >(Configuration.java:296)
    > at
    >org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration
    >(Configuration.java:278)
    > at
    >org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration
    >(Configuration.java:261)
    > at
    >org.objectstyle.cayenne.conf.Configuration.getSharedConfiguration(Config
    >uration.java:224)
    > at test.Main.createContext(Main.java:47)
    > at test.Main.<init>(Main.java:34)
    > at test.Main.main(Main.java:29)
    >
    >
    >I've tried all sorts of classpath changes, I am using
    >/mysql-connector-java-3.1.8 as the jdbc driver for mysql and can
    >successfully test from preferences tab
    >
    >any ideas ?
    >
    >-cheryl
    >
    >
    >
    >
    >









    This archive was generated by hypermail 2.0.0 : Fri Jun 10 2005 - 17:01:39 EDT