Re: NoClassDefFoundError: er/extensions/ERXValidationException
Re: NoClassDefFoundError: er/extensions/ERXValidationException
- Subject: Re: NoClassDefFoundError: er/extensions/ERXValidationException
- From: Lachlan Deck <email@hidden>
- Date: Tue, 22 Jul 2008 11:57:11 +1000
Starting with Wonder 5 the packages were refactored.
Open Eclipse and adjust your import statements.
On 22/07/2008, at 11:40 AM, Tom Woteki wrote:
I'm trying to rebuild a previously working application. I've got WO
5.4.2 and the most recent 54 release of Wonder (circa Jul 15). Here
is what happens when I attempt to run my app from Eclipse. FWIW, the
initialization code for CellarMastersDB does nothing except log the
message displayed below.
ERExtensions.framework is in the build path of both the application
and the framework that is being initialized below.
Thanks for the help.
Tom
[2008-7-21 21:29:28 EDT] <main> Initialized :
er.extensions.ERXExtensions
You are referencing er.extensions.ERXPatternLayout but should use
er.extensions.logging.ERXPatternLayout instead
Jul 21 21:29:29 N/A[N/A] (ERXLogger.java:195) INFO
org.apache.log4j.Logger - Updated the logging configuration with
the current system properties.
Jul 21 21:29:29 N/A[N/A] (ERXLogger.java:197) DEBUG
org.apache.log4j.Logger - log4j.loggerFactory: null
Jul 21 21:29:29 N/A[N/A] (ERXLogger.java:198) DEBUG
org.apache.log4j.Logger - Factory: null
Jul 21 21:29:29 N/A[N/A] (CellarMastersDB.java:23) DEBUG
com.cellarmasters.database.CellarMastersDB - invoking
setUpFrameworkPrincipalClass( CellarMastersDB.class )
Jul 21 21:29:29 N/A[N/A] (CellarMastersDB.java:31) DEBUG
com.cellarmasters.database.CellarMastersDB - initializing
CellarMastersDB
Jul 21 21:29:29 N/A[N/A] (ERXNSLogLog4jBridge.java:43) WARN NSLog
- A fatal exception occurred: er/extensions/ERXValidationException
[2008-7-21 21:29:29 EDT] <main> java.lang.NoClassDefFoundError: er/
extensions/ERXValidationException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at
com
.webobjects
.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:350)
at
com
.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:
334)
at
com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:
2410)
at
com
.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:
719)
at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:376)
at
com
.webobjects
.appserver
.WOResourceManager
.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:116)
at
com
.webobjects
.appserver
._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317)
at
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:
5743)
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:
779)
at
er
.extensions
.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:22)
at
er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:747)
at
com.cellarmasters.application.Application.<init>(Application.java:28)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun
.reflect
.NativeConstructorAccessorImpl
.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun
.reflect
.DelegatingConstructorAccessorImpl
.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:
547)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:
535)
at com.cellarmasters.application.Application.main(Application.java:
21)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden