読者です 読者をやめる 読者になる 読者になる

かとじゅんの技術日誌

技術の話をするところ

Eclipse3.3でDolteng

Seasar Dolteng

お久しぶりです.
多忙でなかなかエントリかけず...

リクエストがあったので書くことにしました.

待望のEclipse3.3がリリースされましたね.早速Seasar系のプラグインをインストール.
とりあえず,Dolteng 0.20.12をインストールし,Churaプロジェクトを作成し,H2を起動.
DatabaseViewでツリーを展開しようとしたら開けずに,以下のようなエラーに遭遇しました.

!ENTRY org.eclipse.ui 4 0 2007-07-30 16:57:40.946
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoSuchFieldError: classLoaderProvider)
	at org.eclipse.swt.SWT.error(SWT.java:3563)
	at org.eclipse.swt.SWT.error(SWT.java:3481)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
Caused by: java.lang.NoSuchFieldError: classLoaderProvider
	at org.seasar.framework.container.impl.S2ContainerImpl.(S2ContainerImpl.java:93)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.seasar.framework.container.factory.ComponentsTagHandler.class$(ComponentsTagHandler.java:33)
	at org.seasar.framework.container.factory.ComponentsTagHandler.(ComponentsTagHandler.java:33)
	at org.seasar.framework.container.factory.S2ContainerTagHandlerRule.(S2ContainerTagHandlerRule.java:41)
	at org.seasar.framework.container.factory.XmlS2ContainerBuilder.(XmlS2ContainerBuilder.java:89)
	at org.seasar.framework.container.factory.S2ContainerFactory.configure(S2ContainerFactory.java:233)
	at org.seasar.framework.container.factory.S2ContainerFactory.configure(S2ContainerFactory.java:215)
	at org.seasar.framework.container.factory.S2ContainerFactory.(S2ContainerFactory.java:120)
	at org.seasar.framework.container.external.GenericS2ContainerInitializer.initialize(GenericS2ContainerInitializer.java:57)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:49)
	at org.seasar.dolteng.eclipse.util.S2ContainerUtil.createS2Container(S2ContainerUtil.java:214)
	at org.seasar.dolteng.eclipse.util.JdbcDiconResourceVisitor.visit(JdbcDiconResourceVisitor.java:57)
	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:120)
	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:134)
	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
	at org.seasar.dolteng.eclipse.model.impl.ProjectNode.loadFromProject(ProjectNode.java:127)
	at org.seasar.dolteng.eclipse.model.impl.ProjectNode.findChildren(ProjectNode.java:114)
	at org.seasar.dolteng.eclipse.action.FindChildrenAction$FindChildrenThread.run(FindChildrenAction.java:102)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
	... 22 more

ということで,id:taichitaichiさん,よろしゅうお願いいたしますですm(_ _)m