Re: Can't run application in Eclipse

From: Jean Pierre Malrieu (jp.malrie..ree.fr)
Date: Sat Jul 26 2008 - 06:38:56 EDT

  • Next message: Mike Schrag: "Re: eogenerator from command line/ant?"

    Never mind: I solved it. Something had probably gone wrong in the
    install of latest wonder...

    JPM

    Le 26 juil. 08 à 12:13, Jean Pierre Malrieu a écrit :

    >
    > Le 25 juil. 08 à 13:46, Mike Schrag a écrit :
    >
    >>>>
    >>>> And I had my rage all ready to go ... Check your project's
    >>>> "build" folder and see if the Properties file made it into the
    >>>> Resources folder?
    >>>>
    >>>> ms
    >>>
    >>> Thanks Mike, you were right. It's working now that I copied the
    >>> Properties file there.
    >> Well, you should not be copying that file into the build folder --
    >> it will get deleted when a full build occurs. If it's not copying
    >> in there, there is something not right with your woproject
    >> metadata. Is your Properties file in your project's top level
    >> Resources folder?
    >
    > Yes
    >
    >> If not, it should be. If it is, then you should look at woproject/
    >> resources.include.patternset and post the contents here.
    >
    > I replace this file with a more recent version of it, and it works
    > now (it copies the Properties file in the build).
    >
    > I have another, more general problem with my setup: when I try to
    > run a wonder application (even a new one), I get this exception:
    >
    > juil. 26 12:02:09 TDBaseENT[49184] (ERXNSLogLog4jBridge.java:43)
    > WARN NSLog - <WOWorkerThread id=0 socket=null> Throwable occurred:
    > java.lang.NoClassDefFoundError: er/extensions/ERXWOContext
    > [2008-7-26 12:2:9 CEST] <WorkerThread0>
    > java.lang.NoClassDefFoundError: er/extensions/ERXWOContext
    > at java.lang.ClassLoader.defineClass1(Native Method)
    > at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
    > at
    > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
    > 124)
    > at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    > at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    > at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    > at java.security.AccessController.doPrivileged(Native Method)
    > at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    > at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
    > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    > at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    > at java.lang.Class.forName0(Native Method)
    > at java.lang.Class.forName(Class.java:164)
    > at
    > com
    > .webobjects
    > .foundation._NSUtilities._searchForClassInPackages(_NSUtilities.java:
    > 417)
    > at
    > com
    > .webobjects
    > .foundation.NSBundle.searchForClassInBundles(NSBundle.java:989)
    > at
    > com
    > .webobjects
    > .foundation.NSBundle.searchAllBundlesForClassWithName(NSBundle.java:
    > 975)
    > at com.webobjects.foundation.NSBundle
    > $1._searchForClassWithName(NSBundle.java:381)
    > at
    > com
    > .webobjects
    > .foundation._NSUtilities._classWithPartialName(_NSUtilities.java:387)
    > at
    > com
    > .webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:
    > 334)
    > at
    > com
    > .webobjects
    > .appserver.WOApplication.createContextForRequest(WOApplication.java:
    > 2031)
    > at
    > er
    > .extensions
    > .appserver
    > .ERXApplication.createContextForRequest(ERXApplication.java:1654)
    > at
    > com
    > .webobjects
    > .appserver
    > ._private
    > .WOComponentRequestHandler
    > ._handleRequest(WOComponentRequestHandler.java:364)
    > at
    > com
    > .webobjects
    > .appserver
    > ._private
    > .WOComponentRequestHandler
    > .handleRequest(WOComponentRequestHandler.java:442)
    > at
    > com
    > .webobjects
    > .appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
    > at
    > er
    > .extensions
    > .appserver
    > .ERXApplication.dispatchRequestImmediately(ERXApplication.java:1594)
    > at
    > er
    > .extensions
    > .appserver.ERXApplication.dispatchRequest(ERXApplication.java:1558)
    > at
    > com
    > .webobjects
    > .appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
    > at
    > com
    > .webobjects
    > .appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
    > at java.lang.Thread.run(Thread.java:613)
    >
    > Any idea?
    >
    > JPM
    >

    Tout ce que l'on apprend à un enfant, on l'empêche de l'inventer ou de
    le découvrir.
    J. Piaget



    This archive was generated by hypermail 2.0.0 : Sat Jul 26 2008 - 06:46:25 EDT