私はTapestry5 tapx template libraryを使用して、this exampleのようにHTML電子メールを送信しています。私は次のエラーを取得する例を実行するとTapestry5:インタフェースorg.springframework.context.ApplicationContextを実装するサービスはありません
:タペストリー - 春 - 5.1.05.jar含む
Caused by: java.lang.RuntimeException: No service implements the interface org.springframework.context.ApplicationContext.
at org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.java:560)
at org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getService(ObjectLocatorImpl.java:44)
すべてtapestry- *瓶は、私のクラスパスにあります。
欠けていることの手がかりは?
クラスパスにも春がありますか? – Henning
はい............ – Joel
プログラムをデバッグできるIDEを使用していますか?もしそうなら、このクラスのコンストラクタを中断してください:https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk/tapestry-spring/src/main/java/org/apache/tapestry5/spring/SpringModule。 Javaが春が初期化されていることを確認する。そうでない場合、クラスパス上に実際に存在しない可能性があります。 – pstanton