[Seasar-user:5127] Teeda+S2Dao

Junichi Kato [E-MAIL ADDRESS DELETED]
2006年 11月 15日 (水) 21:24:39 JST


加藤です。

お世話になります。

S2.4.2 + Teeda 1.0.1 + S2Dao 1.0.39 の 組み合わせで
java.lang.NoSuchMethodErrorの例外が発生してしまいます。

teeda-html-exampleに、s2daoのjarを加えて、jdbc.diconにMySQLの接続設定を
行い、DoltengからS2Daoでscafflodしました。

原因がわからないのでアドバイスをお願いします。


説明 The server encountered an internal error () that prevented it from
fulfilling this request.

例外 

javax.servlet.ServletException: サーブレットの実行により例外を投げました
	org.seasar.teeda.core.filter.RequestDumpFilter.doFilter(RequestDumpFilter.java:66)
	org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:63)
	org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:63)
	org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:62)


原因 

java.lang.NoSuchMethodError: examples.teeda.dao.CustomerDao$$EnhancedByS2AOP$$1845568.selectAll()
	examples.teeda.dao.CustomerDao$$EnhancedByS2AOP$$1845568$$MethodInvocation$$selectAll3.proceed(MethodInvocationClassGenerator.java)
	org.seasar.framework.aop.interceptors.ClassLoaderAwareTraceInterceptor.invoke(ClassLoaderAwareTraceInterceptor.java:41)
	examples.teeda.dao.CustomerDao$$EnhancedByS2AOP$$1845568$$MethodInvocation$$selectAll3.proceed(MethodInvocationClassGenerator.java)
	examples.teeda.dao.CustomerDao$$EnhancedByS2AOP$$1845568.selectAll(CustomerDao$$EnhancedByS2AOP$$1845568.java)
	examples.teeda.web.customer.CustomerListPage.prerender(CustomerListPage.java:25)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:585)
	org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:49)
	org.seasar.framework.beans.impl.BeanDescImpl.invoke(BeanDescImpl.java:207)
	org.seasar.teeda.extension.html.impl.HtmlViewHandler.invoke(HtmlViewHandler.java:183)
	org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:155)
	org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:139)
	org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase.executePhase(RenderResponsePhase.java:37)
	org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:55)
	org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase$$EnhancedByS2AOP$$a2da07.execute$$invokeSuperMethod$$(RenderResponsePhase$$EnhancedByS2AOP$$a2da07.java)
	org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase$$EnhancedByS2AOP$$a2da07$$MethodInvocation$$execute0.proceed(MethodInvocationClassGenerator.java)
	org.seasar.teeda.core.interceptor.MeasurementInterceptor.invoke(MeasurementInterceptor.java:46)
	org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase$$EnhancedByS2AOP$$a2da07$$MethodInvocation$$execute0.proceed(MethodInvocationClassGenerator.java)
	org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase$$EnhancedByS2AOP$$a2da07.execute(RenderResponsePhase$$EnhancedByS2AOP$$a2da07.java)
	org.seasar.teeda.core.lifecycle.LifecycleImpl.render(LifecycleImpl.java:127)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:100)
	org.seasar.teeda.core.filter.RequestDumpFilter.doFilter(RequestDumpFilter.java:66)
	org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:63)
	org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:63)
	org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:62)






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