【DI】Java Spring Frameworkを語るスレ 5.0 (399レス)
【DI】Java Spring Frameworkを語るスレ 5.0 http://mevius.5ch.net/test/read.cgi/tech/1322414231/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
69: sage [] 2012/03/14(水) 17:02:12.77 URIを以下の様にしたい場合 /item/index.html /test/item/index.html コントローラクラスを以下の様に配置して実行しようとすると controller.ItemController.java controller.test.ItemController.java ↓のエラーが出ます。 org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/sample-servlet.xml]; nested exception is java.lang.IllegalStateException: Annotation-specified bean name 'itemController' for bean class [controller.ItemController] conflicts with existing, non-compatible bean definition of same name and class [controller.test.ItemController] たぶん、同じクラス名は使用できないという事かと思うのですが、URIをこのような事をするには どうすればよろしいのでしょうか? http://mevius.5ch.net/test/read.cgi/tech/1322414231/69
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 330 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.005s