Error when starting tomcat through intellij
I am using tomcat 6.0.16, struts 2, and maven to compile.
When I startup my application through tomcat it works fine.
When I startup my application through intellij I get the following error
java.lang.IllegalArgumentException: Document base /home/kal/.IntelliJIdea70/system/tomcat_Unnamed_sonicswap30653ea5/webapps/cobalt does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:141)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3957)
The compiled war does not have the webapps directory.
I am wondering how I include it in the war or serve out of the tomcat directory
kal
Message was edited by:
kal stevens
请先登录再写评论。