Problem debugging launching tomcat

I am trying to launch the debugger for a Maven project that includes Java and Flex apps. The problem I am getting is it fails to find the correct location of the web.xml file, this is the error:

SEVERE: Exception fixing docBase for context []
java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\web.xml (The system cannot find the path specified)

Where exactly is it getting the "..\ROOT\.." in the path from?

Thanks for any help you can give me.

GD

3 comments
Comment actions Permalink

Which type of run configuration do you use to start the Tomcat?

I am trying to launch the debugger for a Maven project that includes Java and Flex apps. The problem I am getting is it fails to find the correct location of the web.xml file, this is the error:

>

SEVERE: Exception fixing docBase for context []
java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\web.xml (The system cannot find the path specified)

>

Where exactly is it getting the "..\ROOT\.." in the path from?

>

Thanks for any help you can give me.

>

GD

>

---
Original message URL: http://devnet.jetbrains.net/message/5277591#5277591



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Not sure exactly what you are asking, here are the main settings in Run/Deb config I have for Tomcat (attachments).



Attachment(s):
Image2.jpg
Image1.jpg
0
Comment actions Permalink

Ok, so you deploys a war file to Tomcat and Tomcat unpacks it to .../webapps/ROOT/ directory. Could you please check whether the war file generated by
IDEA contains WEB-INF/web.xml file or not? Path to the war file is specified Project Structure dialog, 'Artifacts' ->
'reserve-servier-web-service:war' item.

Not sure exactly what you are asking, here are the main settings in Run/Deb config I have for Tomcat (attachments).

>

---
Original message URL: http://devnet.jetbrains.net/message/5277684#5277684



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.