... and if you expand the JavaFoundation-entry in the buildpath - Is there the 
right jar associated?

I got similar errors in the past because the eclipse setup of WOLips pointed to 
the wrong framework folders...

Am 08.03.2011 um 17:15 schrieb Paul D Yu:

> James
> 
> I just created a new WonderFramework project; Added a new EOModel to the 
> Resources directory of this project; updated build Path to include 
> mysql-connector-java-5.1.7.jar;  opened the EOModel;  edited the Default 
> configuration to point to one of my mysql DBs; click on reverse engineer 
> icon.  All the tables from the database came back.
> 
> Here's the Build Path that I have for this project.
> 
> Paul
> <Properties for TestModel.jpg>
> On Mar 8, 2011, at 11:07 AM, Paul Dunkler wrote:
> 
>> Hi James,
>> 
>> sounds like you are missing the JavaFoundation-Framework in your build 
>> path...
>> Just check your build path (right click on the project -> Build path -> 
>> Configure build path...) and check if the associated jar 
>> (javafoundation.jar) is listed under the JavaFoundation entry.
>> 
>> If not, check your WOLipse-Framework-Directory settings...
>> 
>> 
>> Am 08.03.2011 um 16:07 schrieb James Cicenia:
>> 
>>> Hello -
>>> 
>>> I am trying to reverse engineer a mysql db with Eclipse 3.6x and all I get 
>>> are error messages.
>>> First about JavaMail and then thereafter, NSBundle ?
>>> 
>>> Am I missing some setup config? 
>>> 
>>> Thanks
>>> James
>>> 
>>> 
>>> 
>>> java.lang.NoClassDefFoundError: Could not initialize class 
>>> com.webobjects.foundation.NSBundle
>>>     at 
>>> com.webobjects.eoaccess.EOAdaptor.infoDictionaryForAdaptorNamed(EOAdaptor.java:230)
>>>     at 
>>> com.webobjects.eoaccess.EOAdaptor.classNameForAdaptorNamed(EOAdaptor.java:246)
>>>     at 
>>> com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:262)
>>>     at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:287)
>>>     at 
>>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineer53.<init>(EOFSQLReverseEngineer53.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:513)
>>>     at 
>>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineerFactory.reverseEngineer(EOFSQLReverseEngineerFactory.java:23)
>>>     at 
>>> org.objectstyle.wolips.eomodeler.actions.ReverseEngineerAction.run(ReverseEngineerAction.java:86)
>>>     at 
>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
>>>     at 
>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
>>>     at 
>>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>>>     at 
>>> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>>>     at 
>>> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
>>>     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>>>     at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
>>>     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
>>>     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
>>>     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383)
>>>     at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195)
>>>     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629)
>>>     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)
>>>     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
>>>     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
>>>     at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
>>>     at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
>>>     at 
>>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>>     at 
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
>>>     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>>>     at 
>>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
>>>     at 
>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>>     at 
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>>     at 
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>>     at 
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
>>>     at 
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>     at 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
>>>     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
>>>     at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/paul.dunkler%40xyrality.com
>>> 
>>> This email sent to [email protected]
>> 
>> Mit freundlichen Grüßen
>> 
>> Paul Dunkler
>> 
>> 
>> <xyrality_logo_medium.png>
>> 
>> -----------------------------------------------------
>> XYRALITY GmbH • Lerchenstraße 28a • 22767 Hamburg
>> Paul Dunkler • Softwareentwickler
>> Mail: [email protected]      
>> Tel: +49 (0) 40 23 51 78 97
>> Mobil: +49 (0) 151 11624143
>> Fax: +49 (0) 40 23 51 78 98
>> Web: http://www.xyrality.com/
>> Registergericht: Hamburg HRB 115332
>> Geschäftsführer: Sven Ossenbrüggen & Alexander Spohr
>> -----------------------------------------------------
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
>> 
>> This email sent to [email protected]
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/paul.dunkler%40xyrality.com
> 
> This email sent to [email protected]

Mit freundlichen Grüßen

Paul Dunkler


<<inline: xyrality_logo_medium.png>>


-----------------------------------------------------
XYRALITY GmbH • Lerchenstraße 28a • 22767 Hamburg
Paul Dunkler • Softwareentwickler
Mail: [email protected] 
Tel: +49 (0) 40 23 51 78 97
Mobil: +49 (0) 151 11624143
Fax: +49 (0) 40 23 51 78 98
Web: http://www.xyrality.com/
Registergericht: Hamburg HRB 115332
Geschäftsführer: Sven Ossenbrüggen & Alexander Spohr
-----------------------------------------------------

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to