How do I run Tomcat with IDEA? Follow
I have looked into all the available configuration options in IDEA to
set up a project as a webapp. I have set the Catalina Home variable in
the Run/Debug window to point to my Tomcat 4.0.4 installation. But when
I try to run the debugger I get an error window with the message: "Could
not find the main class. Program will exit" followed by a a second popup
title "VM terminated" with the message "VM initialization failed
for...." and listing the Tomcat startup up command with the full classpath.
What is going wrong here? My Tomcat works fine on its own.
How do I get IDEA working with Tomcat?
Any help or pointers gratefully accepted and urgently needed.
Please sign in to leave a comment.
John Lagrue <firstname.lastname@example.org> wrote:
I found it easiest to start Tomcat standalone and use remote debugging,
set up a remote debugging target in Idea and use the command line
parameters it provides in addition to whatever you use to start Tomcat
normaly (i.e. edit the Link in Win32 or modify the .sh-file on Unix).
Then just run Tomcat and start the debugger, works like a charm for me.
Hungarian Notation is the tactical nuclear weapon of source code
In most cases using the remote debugger is much
I found only one drawback though, you cannot
do JSP debugging (this is a new feature as of 639).
Joachim Sauer wrote:
>>How do I get IDEA working with Tomcat?
Please try build 642 (will be available soon).
If the problem still exists, could you please send me the whole error
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"
"John Lagrue" <email@example.com> wrote in message