Re: Working with packages in WebObjects/WOLips

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Thu Jun 26 2003 - 11:13:31 EDT

  • Next message: Kaelin Colclasure: "Moving classes into a package"

    Hi Paul,

    to figure it out I need WOLips/Eclipse/WO/OS version and a sample
    project to reproduce the problem.

    Ulrich
    Am Donnerstag, 26.06.03 um 17:02 Uhr schrieb Paul-Liviu Petrus:

    >
    > Hi Ulrich,
    >
    > I checked PB.project (opened it in ProjectBuilder) and there don't seem
    > to be any multiple entries. The .java files were visible and the
    > references to them were actual in the project. I clicked 'Update
    > PB.project' but get the same errors.
    >
    > When I started the cmd file, I got immediately the error below. It
    > didn't even start; when I launched it from Eclipse, it started but
    > blocked itself only when I tried to click on some components.
    >
    > Paul.
    >
    >
    >
    > Configuring launch environment for eCompany ...
    > Launching eCompany.
    > java -DWORootDirectory="C:\Apple"
    > -DWOLocalRootDirectory="C:\Apple\Local" -DWO
    > UserDirectory="D:\Projects\Eclipse\Projects\eCompany\eCompany.woa"
    > -classpath "
    > D:\Projects\Eclipse\Projects\eCompany\eCompany.woa\Contents\Resources\J
    > a
    > va\;D:\P
    > rojects\Eclipse\Projects\eCompany\eCompany.woa\Contents\Resources\Java\
    > e
    > company.
    > jar;C:\Apple\jars\msbase.jar;C:\Apple\jars\mssqlserver.jar;C:\Apple\jar
    > s
    > \msutil.jar" Application
    > Exception in thread "main" java.lang.NoClassDefFoundError:
    > com/webobjects/appser
    > ver/WOApplication
    > at java.lang.ClassLoader.defineClass0(Native Method)
    > at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
    > at
    > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
    > 6)
    > at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
    > at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    > at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    > at java.security.AccessController.doPrivileged(Native Method)
    > at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    > at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    > at
    > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
    > at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    > at
    > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    > Press any key to continue . . .



    This archive was generated by hypermail 2.0.0 : Thu Jun 26 2003 - 11:11:30 EDT