[Seasar-user:14924] Re: [cubby, mayaa] たぶん初歩的なつまずき。。。

Mitsutaka Sato [E-MAIL ADDRESS DELETED]
2008年 7月 4日 (金) 10:42:23 JST


佐藤です。

ちなみに WEB-INF に cubby-*.tld を配置することで
WTPでも動くようになりました。

2008/7/4 Mitsutaka Sato <[E-MAIL ADDRESS DELETED]>:

> 縣様、
> ご回答ありがとうございました。
>
> ご指摘いただいたとおりにmavenからtomcatを実行すれば
> うまく行きました。
>
> ありがとうございました。
>
> 2008/7/4 AGATA Toshitaka <[E-MAIL ADDRESS DELETED]>:
>
> 縣です。
>>
>> CubbyのタグライブラリがMayaaから見えてないように思えます。
>> MayaaはWEB-INF/libにあるタグライブラリを利用するので、
>> WTPなど開発環境の問題である可能性があります。
>>
>>
>> http://cubby.seasar.org/setup.html#Tomcat_の起動
>>
>> にあるように、
>>
>> mvn war:inplace
>> mvn tomcat:run
>>
>> のコマンドを実行して、MavenからTomcatを起動して動作するか確認
>> いただけますか?
>>
>> Mitsutaka Sato さんは書きました:
>> > 佐藤と申します。
>> > いつもお世話になっております。
>> >
>> > cubby + mayaa の構成(maven2で構築) で開発を始めたところですが、
>> > cubbyのタグライブラリを使うところでエラーが出てしまうようなんです。
>> > たぶん初歩的なミスなのかと思っていますが、スタックとレースとmayaaファイルを
>> > 載せますので何かおわかりになりましたら教えてください。
>> >
>> > ■ login.mayaa
>> > <?xml version="1.0" encoding="UTF-8"?>
>> > <m:mayaa xmlns:m="http://mayaa.seasar.org"
>> >     xmlns:t="http://www.seasar.org/cubby/tags"
>> >     xmlns:c="http://java.sun.com/jsp/jstl/core">
>> >
>> >     <!-- forms -->
>> >     <t:form m:id="loginForm" action="./login" method="post"
>> > value="{$action}" />
>> >     <t:input m:id="cardId1" type="text" name="cardId1"
>> class="ime-disabled"
>> > size="8" maxlength="4" onkeyup="cardIdInputHelp(this.value, 'cardId2')"
>> > style="width:30px" />
>> >     <t:input m:id="cardId2" type="text" name="cardId2"
>> class="ime-disabled"
>> > size="8" maxlength="4" onkeyup="cardIdInputHelp(this.value, 'cardId3')"
>> > style="width:30px" />
>> >     <t:input m:id="cardId3" type="text" name="cardId3"
>> class="ime-disabled"
>> > size="8" maxlength="4" onkeyup="cardIdInputHelp(this.value, 'cardId4')"
>> > style="width:30px" />
>> >     <t:input m:id="cardId4" type="text" name="cardId4"
>> class="ime-disabled"
>> > size="8" maxlength="4" onkeyup="cardIdInputHelp(this.value, 'cardPin')"
>> > style="width:30px" />
>> >     <t:input m:id="cardPin" type="password" name="cardPin" size="8"
>> > maxlength="6" class="ime-disabled" />
>> >
>> > </m:mayaa>
>> >
>> > ■trace
>> > ERROR 2008-07-03 16:12:22,656 [http-8080-Processor23] handled exception,
>> the
>> > injected node(/t:{http://www.seasar.org/cubby/tags}form<http://www.seasar.org/cubby/tags%7Dform>,
>> /login.mayaa#7) is
>> > not resolved.
>> > org.seasar.mayaa.impl.builder.ProcessorNotInjectedException: the
>> injected
>> > node(/t:{http://www.seasar.org/cubby/tags}form<http://www.seasar.org/cubby/tags%7Dform>,
>> /login.mayaa#7) is not
>> > resolved.
>> >     at
>> >
>> org.seasar.mayaa.impl.builder.TemplateBuilderImpl.resolveInjectedNode(TemplateBuilderImpl.java:314)
>> >     at
>> >
>> org.seasar.mayaa.impl.builder.TemplateBuilderImpl.walkParsedTree(TemplateBuilderImpl.java:447)
>> >     at
>> >
>> org.seasar.mayaa.impl.builder.TemplateBuilderImpl.walkParsedTree(TemplateBuilderImpl.java:451)
>> >     at
>> >
>> org.seasar.mayaa.impl.builder.TemplateBuilderImpl.walkParsedTree(TemplateBuilderImpl.java:451)
>> >     at
>> >
>> org.seasar.mayaa.impl.builder.TemplateBuilderImpl.doInjection(TemplateBuilderImpl.java:495)
>> >     at
>> >
>> org.seasar.mayaa.impl.builder.TemplateBuilderImpl.afterBuild(TemplateBuilderImpl.java:132)
>> >     at
>> >
>> org.seasar.mayaa.impl.builder.SpecificationBuilderImpl.build(SpecificationBuilderImpl.java:79)
>> >     at
>> >
>> org.seasar.mayaa.impl.engine.specification.SpecificationImpl.build(SpecificationImpl.java:149)
>> >     at
>> > org.seasar.mayaa.impl.engine.TemplateImpl.build(TemplateImpl.java:223)
>> >     at
>> >
>> org.seasar.mayaa.impl.engine.EngineImpl.createSpecificationInstance(EngineImpl.java:553)
>> >     at
>> >
>> org.seasar.mayaa.impl.engine.EngineImpl.createTemplateInstance(EngineImpl.java:593)
>> >     at
>> >
>> org.seasar.mayaa.impl.engine.PageImpl.getTemplateFromFixedSuffix(PageImpl.java:149)
>> >     at
>> org.seasar.mayaa.impl.engine.PageImpl.getTemplate(PageImpl.java:163)
>> >     at
>> > org.seasar.mayaa.impl.engine.RenderUtil.getTemplate(RenderUtil.java:267)
>> >     at
>> > org.seasar.mayaa.impl.engine.RenderUtil.renderPage(RenderUtil.java:302)
>> >     at
>> org.seasar.mayaa.impl.engine.PageImpl.doPageRender(PageImpl.java:190)
>> >     at
>> >
>> org.seasar.mayaa.impl.engine.EngineImpl.doPageService(EngineImpl.java:368)
>> >     at
>> > org.seasar.mayaa.impl.engine.EngineImpl.doService(EngineImpl.java:490)
>> >     at
>> org.seasar.mayaa.impl.MayaaServlet.doService(MayaaServlet.java:97)
>> >     at org.seasar.mayaa.impl.MayaaServlet.doGet(MayaaServlet.java:80)
>> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> >     at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>> >     at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>> >     at
>> >
>> org.seasar.cubby.filter.RequestRoutingFilter.doFilter(RequestRoutingFilter.java:152)
>> >     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.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:77)
>> >     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:69)
>> >     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(Unknown Source)
>> >
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Seasar-user mailing list
>> > [E-MAIL ADDRESS DELETED]
>> > https://ml.seasar.org/mailman/listinfo/seasar-user
>>
>>
>> --
>> -------------------------------
>> 株式会社ヌーラボ 縣 俊貴
>> Mail : [E-MAIL ADDRESS DELETED]
>> HP   : http://www.nulab.co.jp/
>> TEL  : 03-5766-6256(東京)
>>      092-724-0020(福岡)
>> -------------------------------
>> _______________________________________________
>> Seasar-user mailing list
>> [E-MAIL ADDRESS DELETED]
>> https://ml.seasar.org/mailman/listinfo/seasar-user
>>
>
>
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20080704/4bb9b862/attachment-0001.html>


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