Eclipse(WTP)とMaven2プラグインとStruts2の組み合わせでハマる

EclipseMaven2プラグインをインストールした状態で、Webプロジェクトを作成し、pom.xmlStruts2Dependencyを記述後にEclipseのエラーが。。。

さらにProblemsビューには
Missing indirectly referenced artifact com.sun:tools:jar:1.5.0:system
なんてエラーの表示も。。。。

The Maven Integration requires that Eclipse be running in a JDK. because 〜
Please make sure this -vm option in eclipse.ini is pointing to a JDK and verfy that Installed JREs are also using JDK installs.
なになに?MavenがEclilpseで動くJDK???英語がよくわかんないからググッてみるとStruts 2 and Sun Micro’s tools.jar in Eclipse WTPなるページがあった。
ここの情報によると、この問題を回避する方法は2つあるらしくて、
ひとつはEclipse起動時に引数を設定する。

eclipse -vm "C:\Program Files\Java\jdk1.6.0_01\bin"

もうひとつはシステムのPathの設定を変更する。

set PATH=C:\Program Files\Java\jdk1.6.0_01\bin;%PATH%

があるそうなので、どちらかの方法をやってあげればOKだそうです。
ちなみに僕は前者のほうを試してみたらうまくいきました。