Tomcat integration and strange error

I get the following exception for each web facet that gets deployed to my Tomcat server in Idea. I am not sure where it is getting this path from and whether it is something I can configure in Idea as the webapps directory exists here C:\Tomcat-5.5\server\webapps and not where Idea seems to be looking?:

java.io.IOException: Application base directory C:\Tomcat-5.5\webapps does not exist
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:122)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:872)
at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:990)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5071)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3984)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
at java.lang.Thread.run(Thread.java:595)
28-Aug-2007 17:21:45 org.apache.catalina.startup.ContextConfig init

Please sign in to leave a comment.