Re: cgen and VPP

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Nov 20 2006 - 12:21:03 EST

  • Next message: Kevin Menard: "RE: cgen and VPP"

    On my customer project I just upgraded Cayenne jar to the trunk
    version (from the one we had that was a few months old). Now I am
    getting the exception below when trying to build classes with Ant. Of
    course adding VPP jars to CLASSPATH fixes the problem, but I thought
    it was optional?

    Thanks
    Andrus

    BUILD FAILED
    java.lang.NoClassDefFoundError: foundrylogic/vpp/VPPConfig
             at org.apache.tools.ant.Project.executeSortedTargets
    (Project.java:1225)
             at org.apache.tools.ant.Project.executeTarget(Project.java:
    1185)
             at org.apache.tools.ant.helper.DefaultExecutor.executeTargets
    (DefaultExecutor.java:40)
             at org.apache.tools.ant.Project.executeTargets(Project.java:
    1068)
             at org.apache.tools.ant.Main.runBuild(Main.java:668)
             at org.apache.tools.ant.Main.startAnt(Main.java:187)
             at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
             at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: java.lang.NoClassDefFoundError: foundrylogic/vpp/VPPConfig
             at java.lang.Class.getDeclaredMethods0(Native Method)
             at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
             at java.lang.Class.privateGetPublicMethods(Class.java:2488)
             at java.lang.Class.getMethods(Class.java:1406)
             at org.apache.tools.ant.IntrospectionHelper.<init>
    (IntrospectionHelper.java:171)
             at org.apache.tools.ant.IntrospectionHelper.getHelper
    (IntrospectionHelper.java:315)
             at org.apache.tools.ant.UnknownElement.handleChildren
    (UnknownElement.java:318)
             at org.apache.tools.ant.UnknownElement.configure
    (UnknownElement.java:182)
             at org.apache.tools.ant.UnknownElement.maybeConfigure
    (UnknownElement.java:158)
             at org.apache.tools.ant.Task.perform(Task.java:363)
             at org.apache.tools.ant.Target.execute(Target.java:341)
             at org.apache.tools.ant.Target.performTasks(Target.java:369)
             at org.apache.tools.ant.Project.executeSortedTargets
    (Project.java:1216)



    This archive was generated by hypermail 2.0.0 : Mon Nov 20 2006 - 12:21:34 EST