intellij IDEA (12.x) を使用しています。
Tomcat 6 の下に Spring MVC アプリがあります。これが私がやろうとしていることです:
私の手順:
1. Run idea
2. Create new project -> Spring MVC application
アプリケーションを実行するためのすべての構成。
3. Start application (pressing green arrow on the top),
As a result I can see my "hello" message jsp - in browser
4. in the Controller I change "hello" to "hello123"
次に、ブラウザ ページで「hello123」を表示したいと思います。私の試み:
5. refresh page - no result
6. Ctrl+Shift+F9 (compiling current controller class).
refresh page - no result
7. pressing "refresh" button in the tomcat server panel in IDEA.
the pop-up dialog appears: "update classes and resuources" option
is selected there by default. refresh page - no result
8. restart server - then yes - I can see result ("hello123" message)
アクション/待機時間を最小限に抑えて、安全な開発者の時間までできるだけ早く結果を得る最良の方法は何ですか?
私の tomcat-configuration パネルには、次の設定があります (実際にはデフォルトで設定されています)。
On 'Update' action: Update classes and resources.
On frame deactivation: Do nothing
Before launch: Make; Build app:war exploded artifact