[Seasar-user:8253] [Teeda]DataseViewから作成した Scaffold アプリケーションが動作しない

[E-MAIL ADDRESS DELETED] [E-MAIL ADDRESS DELETED]
2007年 6月 12日 (火) 20:29:41 JST


いつもお世話になっております。
丸岡です。

DataseViewから作成した Scaffold アプリケーションが動作しないという問題が発生しています。
もともと、手作業でDAO,Entityを作成して、エラーメッセージが出力されたので、
プラグインからScaffold アプリケーションを作成して、それをベースに開発を。。と
考え、実行したところエラーが出ました。

下記のエラーメッセージから対処方法などをご存知の方がいらしたら教えて下さい。



■バージョン--------------
S2Container 2.4.13
S2Tiger 2.4.13
S2Dao 1.0.43
Teeda 1.0.7

■再現の手順--------------
(1)テーブルを作成しました

Create table test (
 id varchar(10) not null,
 name varchar(20),
  CONSTRAINT PK_test PRIMARY KEY (id)
);

DatabaseView で右クリック⇒Generate Scaffold Application
その後作成されたTest.htmlを右クリック⇒Dolteng⇒View on Server

■コンソールメッセージ------------------------------

DEBUG 2007-06-12 20:20:54,348 [http-8080-Processor25] HOT deployを開始します
DEBUG 2007-06-12 20:20:54,738 [http-8080-Processor25] クラス(hoge.web.test.TestListPage[test_testListPage])のコンポーネント定義を登録します
DEBUG 2007-06-12 20:20:55,029 [http-8080-Processor25] クラス(hoge.dao.TestDao[testDao])のコンポーネント定義を登録します
DEBUG 2007-06-12 20:20:55,249 [http-8080-Processor25] クラス(hoge.web.test.TestDxo[test_testDxo])のコンポーネント定義を登録します
DEBUG 2007-06-12 20:20:55,419 [http-8080-Processor25] BEGIN hoge.web.test.TestListPage#initialize()
DEBUG 2007-06-12 20:20:55,419 [http-8080-Processor25] トランザクションを開始しました
DEBUG 2007-06-12 20:20:55,419 [http-8080-Processor25] トランザクションをコミットしました
DEBUG 2007-06-12 20:20:55,419 [http-8080-Processor25] END hoge.web.test.TestListPage#initialize() : null
DEBUG 2007-06-12 20:20:55,419 [http-8080-Processor25] BEGIN hoge.web.test.TestListPage#prerender()
DEBUG 2007-06-12 20:20:55,419 [http-8080-Processor25] トランザクションを開始しました
DEBUG 2007-06-12 20:20:55,419 [http-8080-Processor25] BEGIN hoge.dao.TestDao#selectAll()
DEBUG 2007-06-12 20:20:55,440 [http-8080-Processor25] 論理的なコネクションを取得しました
DEBUG 2007-06-12 20:20:55,440 [http-8080-Processor25] 論理的なコネクションを閉じました
DEBUG 2007-06-12 20:20:55,440 [http-8080-Processor25] 論理的なコネクションを取得しました
DEBUG 2007-06-12 20:20:55,440 [http-8080-Processor25] 論理的なコネクションを取得しました
DEBUG 2007-06-12 20:20:55,440 [http-8080-Processor25] 論理的なコネクションを閉じました
DEBUG 2007-06-12 20:20:55,450 [http-8080-Processor25] 論理的なコネクションを閉じました
DEBUG 2007-06-12 20:20:55,450 [http-8080-Processor25] END hoge.dao.TestDao#selectAll() Throwable:java.lang.AbstractMethodError: org.seasar.dao.annotation.tiger.impl.BeanAnnotationReaderImpl.getId(Lorg/seasar/framework/beans/PropertyDesc;Lorg/seasar/dao/Dbms;)Ljava/lang/String;
DEBUG 2007-06-12 20:20:55,450 [http-8080-Processor25] トランザクションをロールバックしました
DEBUG 2007-06-12 20:20:55,450 [http-8080-Processor25] END hoge.web.test.TestListPage#prerender() Throwable:java.lang.AbstractMethodError: org.seasar.dao.annotation.tiger.impl.BeanAnnotationReaderImpl.getId(Lorg/seasar/framework/beans/PropertyDesc;Lorg/seasar/dao/Dbms;)Ljava/lang/String;
DEBUG 2007-06-12 20:20:55,480 [http-8080-Processor25] HOT deployを終了しました
2007-06-12 20:20:55,480 [http-8080-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/TST].[facesServlet] - サーブレット facesServlet のServlet.service()が例外を投げました
java.lang.AbstractMethodError: org.seasar.dao.annotation.tiger.impl.BeanAnnotationReaderImpl.getId(Lorg/seasar/framework/beans/PropertyDesc;Lorg/seasar/dao/Dbms;)Ljava/lang/String;
	at org.seasar.dao.impl.BeanMetaDataImpl.setupProperty(BeanMetaDataImpl.java:307)
	at org.seasar.dao.impl.BeanMetaDataImpl.initialize(BeanMetaDataImpl.java:90)
	at org.seasar.dao.impl.BeanMetaDataFactoryImpl.createBeanMetaData(BeanMetaDataFactoryImpl.java:115)
	at org.seasar.dao.impl.BeanMetaDataFactoryImpl.createBeanMetaData(BeanMetaDataFactoryImpl.java:73)
	at org.seasar.dao.impl.BeanMetaDataFactoryImpl.createBeanMetaData(BeanMetaDataFactoryImpl.java:62)
	at org.seasar.dao.impl.DaoMetaDataImpl.initialize(DaoMetaDataImpl.java:150)
	at org.seasar.dao.impl.DaoMetaDataFactoryImpl.createDaoMetaData(DaoMetaDataFactoryImpl.java:123)
	at org.seasar.dao.impl.DaoMetaDataFactoryImpl.getDaoMetaData(DaoMetaDataFactoryImpl.java:105)
	at org.seasar.dao.interceptors.S2DaoInterceptor.invoke(S2DaoInterceptor.java:51)
	at org.seasar.dao.pager.PagerS2DaoInterceptorWrapper.invoke(PagerS2DaoInterceptorWrapper.java:71)
	at hoge.dao.TestDao$$EnhancedByS2AOP$$101751$$MethodInvocation$$selectAll3.proceed(MethodInvocationClassGenerator.java)
	at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:70)
	at hoge.dao.TestDao$$EnhancedByS2AOP$$101751$$MethodInvocation$$selectAll3.proceed(MethodInvocationClassGenerator.java)
	at hoge.dao.TestDao$$EnhancedByS2AOP$$101751.selectAll(TestDao$$EnhancedByS2AOP$$101751.java)
	at hoge.web.test.TestListPage.prerender(TestListPage.java:24)
	at hoge.web.test.TestListPage$$EnhancedByS2AOP$$6963b0.$$prerender$$invokeSuperMethod$$(TestListPage$$EnhancedByS2AOP$$6963b0.java)
	at hoge.web.test.TestListPage$$EnhancedByS2AOP$$6963b0$$MethodInvocation$$prerender1.proceed(MethodInvocationClassGenerator.java)
	at org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:48)
	at hoge.web.test.TestListPage$$EnhancedByS2AOP$$6963b0$$MethodInvocation$$prerender1.proceed(MethodInvocationClassGenerator.java)
	at org.seasar.framework.aop.interceptors.ThrowsInterceptor.invoke(ThrowsInterceptor.java:73)
	at hoge.web.test.TestListPage$$EnhancedByS2AOP$$6963b0$$MethodInvocation$$prerender1.proceed(MethodInvocationClassGenerator.java)
	at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:70)
	at hoge.web.test.TestListPage$$EnhancedByS2AOP$$6963b0$$MethodInvocation$$prerender1.proceed(MethodInvocationClassGenerator.java)
	at hoge.web.test.TestListPage$$EnhancedByS2AOP$$6963b0.prerender(TestListPage$$EnhancedByS2AOP$$6963b0.java)
	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:585)
	at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:49)
	at org.seasar.framework.beans.impl.BeanDescImpl.invoke(BeanDescImpl.java:213)
	at org.seasar.teeda.extension.html.impl.HtmlComponentInvokerImpl.invoke(HtmlComponentInvokerImpl.java:159)
	at org.seasar.teeda.extension.render.TViewRootRenderer.invoke(TViewRootRenderer.java:325)
	at org.seasar.teeda.extension.render.TViewRootRenderer.invoke(TViewRootRenderer.java:319)
	at org.seasar.teeda.extension.render.TViewRootRenderer.encodeBegin(TViewRootRenderer.java:213)
	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:331)
	at javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:100)
	at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:240)
	at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:177)
	at org.seasar.teeda.extension.taglib.TViewTag.doStartTag(TViewTag.java:90)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.processTag(ElementProcessorImpl.java:145)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.process(ElementProcessorImpl.java:138)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.process(ElementProcessorImpl.java:119)
	at org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:145)
	at org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:135)
	at org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase.executePhase(RenderResponsePhase.java:38)
	at org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:55)
	at org.seasar.teeda.core.lifecycle.LifecycleImpl.render(LifecycleImpl.java:128)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:93)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:63)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:63)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:62)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
	at java.lang.Thread.run(Thread.java:595)



Seasar-user メーリングリストの案内