ProcessorNotInjectedException
以下の環境でTomcatを起動して画面にアクセスしてみるとProcessorNotInjectedExceptionが発生した。
- Eclipse3.3
- WTP2.0
- m2eclipse0.9.5
- Cubby1.0.4
- Mayaa1.1.18
- Tomcat5.5.26
Cubbyのサイトに書かれていた回避策を参考に設定すると無事回避出来たが、もう一つ別の問題が発生。EclipseのProblemsに以下のようなメッセージが表示されていた。
Web library project archive activation-1.1.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2232 Web library project archive aopalliance-1.0.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2250 Web library project archive commons-beanutils-core-1.7.0.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2249 Web library project archive commons-collections-3.1.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2227 Web library project archive commons-fileupload-1.2.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2238 Web library project archive commons-io-1.3.1.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2247 Web library project archive commons-logging-1.1.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2242 Web library project archive cubby-1.0.4.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2240 Web library project archive easymock-2.2.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2231 Web library project archive geronimo-jta_1.1_spec-1.0.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2244 Web library project archive h2-1.0.67.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2237 Web library project archive javassist-3.4.ga.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2226 Web library project archive jaxen-1.1.1.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2228 Web library project archive js-1.6R5.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2234 Web library project archive jstl-1.1.2.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2252 Web library project archive log4j-1.2.15.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2241 Web library project archive mail-1.4.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2236 Web library project archive mayaa-1.1.18.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480755 2224 Web library project archive nekohtml-0.9.5.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2239 Web library project archive ognl-2.6.9-patch-20070908.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2245 Web library project archive poi-3.0-FINAL.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2229 Web library project archive s2-dao-1.0.48.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2225 Web library project archive s2-dao-tiger-1.0.48.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2233 Web library project archive s2-extension-2.4.26.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2235 Web library project archive s2-framework-2.4.26.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2230 Web library project archive s2-tiger-2.4.26.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2246 Web library project archive standard-1.1.2.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2251 Web library project archive xercesImpl-2.7.1.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2243 Web library project archive xml-apis-1.3.03.jar conflicts with another archive also mapped to the WEB-INF/lib folder. ProtoCubby Unknown 1217376480833 2248
Maven(m2eclipse)が認識しているjarファイルが、MavenDependenciesとWEB-INF/lib配下で二重にあるよ、ってことなんだろうけど、どうやって回避したものか。