Let me first say: I love Intellij!
But .... the Tomcat integration into Intellij IDEA, using "Local" configuration, has had a problem for several versions now and the problem continues in 6.0 (although, I will admit that I have not found any other posts on this, so maybe it is just me ;) .
When setting up Tomcat to run under the Local configuration setting, you are allowed to set the values for Tomcat home and the Tomcat base.
GOOD THING: Intellij picks up all the jar files in tomcat, including those in the tomcat\shared\lib directory and adds them to the Libraries section of the config. This makes it very easy to compile the web app against the shared libraries in tomcat.
BAD THING: During runtime, the shared\lib and shared\classes directories are completely ignored! Intellij updates the CATALINA_BASE param to something like: c:\documents and settings\jim\.IntelliJIdea60\system\tomcat__b4e51af9. Intellij recreates the conf, logs, and work directory, but does not copy over the shared\lib or shared\classes directories (which should be part of CATALINA_BASE). This causes all kinds of class not found exceptions during runtime.
In the past, I have just switched to use the Remote configuration instead of Local when running/debugging ... but I really would like to see the Local configuration work properly. Am I missing something? Are there any changes that can be made to this plugin to fix this problem? Thanks for any help/advice/workarounds!