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
请先登录再写评论。
Which type of run configuration do you use to start the Tomcat?
>
>
>
>
>
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
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
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.
>
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"