たぷつきません

おなかがでてきた。もうたぷついてるやん。

開発用クラスローダでプロジェクト参照が効かない。

Sysdeo Tomcat pluginで、DevLoaderがなんか他のプロジェクトが参照できなくなっている。

[DevLoader] Error: /conversion does not exist !
[DevLoader] Error: /jre-extension does not exist !
[DevLoader] Error: /log4j-extension does not exist !
[DevLoader] Error: /mail-traffic-regulator does not exist !

 探したらこせきの技術日記:Sysdeo TomcatプラグインのDevLoaderについてで判明。そういうことか!
src/main/webapp/.#webclasspath を見たら、自分のプロジェクト以外はルートがわからないのかおかしなことになっていた。

\conversion
\jre-extension
\log4j-extension
\mail-traffic-regulator

 webアプリケーションのルートが/だと、ちゃんとフルパスで書かれるのに…。
このファイルは、毎回作成される性質のものなので、じかに修正しても治らない。
 mavenのwarプロジェクトと相性悪いってことじゃん。
tomcat plugin最新のインストールは以前書いた理由で避けていたのだが、リリースノートを見るとどうもアップグレードする必要があるくさい。

  • Problem when using Devloader with Maven2 plugin (Many thanks to Dimitry Voytenko)

Explanations :
Maven2 Eclipse plugin expands Eclipse's classpath container to include all the artifacts specified in the Maven's POM file.
This fix allows resolution inside the classpath containers : On the Tomcat's Project Properties page, containers are now expanded so that a user can select the whole container (in which case the behavior is exactly the same as before) or select a component resolved via the container

 …で、入れてみたのだがハズレ。解決しなかった。困った。