Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-976

EntityResolver Fault dependency leads to ClassNotFound on the ROP client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0M3
    • Core Library
    • None

    Description

      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)

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: