Re: Class Not Found

From: Todd O'Bryan (toddobrya..ac.com)
Date: Sun Jun 06 2004 - 19:16:07 EDT

  • Next message: Krog Jensen Lars (SIX): "Sybase table with identity pk column."

    We need to know the directory structure of your classes, how you're
    compiling, and how you're running the class.

    Specifically, what directory are you in when you compile and run the
    programs?

    Todd

    On Jun 6, 2004, at 4:55 PM, Elia Morling wrote:

    > Hi,
    > The generated Cayenne classes work well when I don't specify a Package
    > Name for Obj Entities. However when I for example set the package to
    > com.myproject then I get the following error when running my
    > application:
    >
    > Exception in thread "main"
    > org.objectstyle.cayenne.CayenneRuntimeException: [v.1
    > .1M6 April 25 2004] Cannot find class Login
    >
    > This is strange as my Main.java compiles excellent with an:
    > import com.myproject .Login;
    >
    > Any ideas?
    >
    > Elia
    >



    This archive was generated by hypermail 2.0.0 : Sun Jun 06 2004 - 19:16:14 EDT