[Seasar-user:5445] [ESSR0046] コンポーネントが見つかりませんというエラーに関して
[E-MAIL ADDRESS DELETED]
[E-MAIL ADDRESS DELETED]
2006年 12月 13日 (水) 15:57:29 JST
浜田と申します。
現在、S2Struts(Seasar2.3.11)を使って検証を行っております。
ComponentAutoRegisterにより、コンポーネントを自動登録しているのですが、
JSPからアクションが実行される際に下記のようなエラーが発生してアプリケーシ
ョン
が動作しません。
---------------------------------------------------------------------------------------
2006-12-13 15:29:45,484 [http-8085-Processor23] ERROR
org.apache.struts.action.RequestProcessor - パス /sv0101d01 に対するアクシ
ョンのインスタンスがありません
org.seasar.framework.container.ComponentNotFoundRuntimeException:
[ESSR0046]コンポーネント(interface
jp.co.itfrontier.wms.apl.sales.receive.action.Sv0101d01Action)が見つかりま
せん
at
org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponentDef(S2ContainerBehavior.java:94)
at
org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponent(S2ContainerBehavior.java:87)
at
org.seasar.framework.container.impl.S2ContainerBehavior.acquireFromGetComponent(S2ContainerBehavior.java:43)
at
org.seasar.framework.container.impl.S2ContainerImpl.getComponent(S2ContainerImpl.java:123)
at
org.seasar.struts.action.ActionFactoryImpl.getActionInstance(ActionFactoryImpl.java:97)
at
org.seasar.struts.processor.S2RequestProcessor.getActionInstance(S2RequestProcessor.java:171)
at
org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:117)
at
org.seasar.struts.processor.S2RequestProcessor.process(S2RequestProcessor.java:61)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
jp.co.itfrontier.wms.fw.msg.MsgServletFilter.doFilter(MsgServletFilter.java:53)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:62)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.seasar.struts.filter.S2StrutsFilter.doFilter(S2StrutsFilter.java:42)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:60)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
------------------------------------------------------------------------------------------
diconファイルの設定は下記になります。
------------------------------------------------------------------------------------------
<component
class="org.seasar.framework.container.autoregister.ComponentAutoRegister">
<property name="instanceDef">
@[E-MAIL ADDRESS DELETED]
</property>
<property name="autoNaming">
<component
class="org.seasar.framework.container.autoregister.DefaultAutoNaming"/>
</property>
<initMethod name="addClassPattern">
<arg>"jp.co.itfrontier.wms.apl.sales.receive.action.impl"</arg>
<arg>".*ActionImpl"</arg>
</initMethod>
</component>
<component
class="org.seasar.framework.container.autoregister.AspectAutoRegister">
<property name="interceptor">wmsfw.actionInterceptorChain</property>
<initMethod name="addClassPattern">
<arg>"jp.co.itfrontier.wms.apl.sales.receive.action.impl"</arg>
<arg>".*ActionImpl"</arg>
</initMethod>
</component>
------------------------------------------------------------------------------------------
設定に問題はないと思うのですが、できれば何かアドバイスをお願い致します。
浜田
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20061213/f77e59f0/attachment.html
Seasar-user メーリングリストの案内