Re: [JIRA] Created: (CAY-976) EntityResolver Fault dependency leads to ClassNotFound on the ROP client

From: Aristedes Maniatis (ar..sh.com.au)
Date: Thu Jan 24 2008 - 04:51:01 EST

  • Next message: Aristedes Maniatis: "CI"

    I haven't yet had a chance to test that this problem is now resolved,
    but I'll try and do this over the next day or so. That should be a
    pretty good test that all the classes needed on the client are in fact
    available under normal operation.

    Ari

    On 23/01/2008, at 10:04 PM, Andrus Adamchik (JIRA) wrote:

    > EntityResolver Fault dependency leads to ClassNotFound on the ROP
    > client
    > ------------------------------------------------------------------------
    >
    > Key: CAY-976
    > URL: https://issues.apache.org/cayenne/browse/CAY-976
    > Project: Cayenne
    > Issue Type: Bug
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Andrus Adamchik
    > Assignee: Andrus Adamchik
    >
    >
    > here is an ROP client exception when using cayenne-client.jar that
    > excludes access package:
    >
    > [java] java.lang.NoClassDefFoundError: org/apache/cayenne/access/
    > ToOneFault
    > [java] at
    > org
    > .apache
    > .cayenne
    > .map.EntityResolver.getClassDescriptorMap(EntityResolver.java:832)
    > [java] at
    > org
    > .apache
    > .cayenne.map.EntityResolver.getClassDescriptor(EntityResolver.java:
    > 449)
    > [java] at
    > org
    > .apache
    > .cayenne.query.BaseQueryMetadata.resolve(BaseQueryMetadata.java:136)
    > [java] at
    > org
    > .apache
    > .cayenne.query.SelectQueryMetadata.resolve(SelectQueryMetadata.java:
    > 32)
    > [java] at
    > org.apache.cayenne.query.SelectQuery.getMetaData(SelectQuery.java:147)
    > [java] at
    > org
    > .apache
    > .cayenne
    > .util.ObjectContextQueryAction.<init>(ObjectContextQueryAction.java:
    > 71)
    > [java] at
    > org
    > .apache
    > .cayenne
    > .CayenneContextQueryAction.<init>(CayenneContextQueryAction.java:41)
    > [java] at
    > org.apache.cayenne.CayenneContext.onQuery(CayenneContext.java:364)
    > [java] at
    > org.apache.cayenne.CayenneContext.performQuery(CayenneContext.java:
    > 352)
    >
    > --
    > This message is automatically generated by JIRA.
    > -
    > You can reply to this email to add a comment to the issue online.
    >

    -------------------------->
    ish
    http://www.ish.com.au
    Level 1, 30 Wilson Street Newtown 2042 Australia
    phone +61 2 9550 5001 fax +61 2 9550 4001
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A



    This archive was generated by hypermail 2.0.0 : Thu Jan 24 2008 - 04:51:48 EST