title: importing dynamic web project in eclipse ?
body: <p>i use eclipse 3.6.2[Helios] and tomcat 7 and myfaces 1.2.10 </p>
  
  <p>i have a problem when i want to import a dynamic web project . i import the project in my workspace and perform the configurations and set jar files but when i run that in tomcat i will have this problem</p>
  
  <pre><code>HTTP Status 404 -
  
  type Status report
  
  message
  
  description The requested resource () is not available.
  Apache Tomcat/6.0.33
  </code></pre>
  
  <p>and in console display this error :</p>
  
  <pre><code>SEVERE: Error starting static Resources
  java.lang.IllegalArgumentException: Document base C:\Eclipse\Workspaces\Wsp2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Wp1 does not exist or is not a readable directory
      at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
      at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4320)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4489)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      at org.apache.catalina.core.StandardService.start(StandardService.java:525)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
  Oct 13, 2011 4:12:18 AM org.apache.catalina.core.StandardContext start
  SEVERE: Error in resourceStart()
  </code></pre>
  
  <p>what should i do ?</p>
  
  <p>thanx </p>