Tomcat exception of java.lang.IllegalArgumentException: Document base *** does not exist

Tomcat exception of java.lang.IllegalArgumentException: Document base
Some have just started using Tomcat friend problems, clearly has a web application from tomcat webapps down under the addition, why would it throw this exception?

java.lang.IllegalArgumentException: Document base *** 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)
at org.apache.catalina.core.StandardContext.start (StandardContext.java: 4126)
at org.apache.catalina.core.ContainerBase.addChildInternal (ContainerBase.java: 791)
********

.................

In fact, this question is very simple, tomcat in an application folder is not just that it ...

Detailed action should be like this:

OK 3:00:

1. War of the project file from the *** \ apache-tomcat-6.0.16 \ webapps out;

2. The project some of the configuration from *** apache-tomcat-6.0.16 \ work \ Catalina \ localhost removed;

3. The project's configuration files, directories: *** \ apache-tomcat-6.0.16 \ conf \ Catalina \ localhost removed.

Or switching to other servers, available MYECLIPSE native. . . . .

This article comes from:. . .
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of Tomcat exception of java.lang.IllegalArgumentException: Document base *** does not exist

  • RoR explained

    ROR is Ruby on Rails. Ruby is a well-known has been very good dynamic language It's dynamic language. Simple and easy. Dynamic languages are interpreted, but the performance may make a discount, but not absolute, because the application is complex, th

  • java read file

    java read documents in two ways: java.io and java.lang.ClassLoader When using the java.io, when java.lang.ClassLoader use it? (Note: If prior to read xml file java read file clearly aware of these two methods have been like! Can take much less to understa

  • Hibernate primary key strategy-sequence

    Today, the use of hibernate in the company encountered a troublesome problem, the use of hibernate when the primary key generation strategy set sequence, but always reported in the implementation could not get next sequence value of the error, then o ...

  • JAVA EE JSP_JNDI

    dsfdsa http://lindows.javaeye.com/admin/blogs/213348 Tomcat 6 with the connection pool data source configuration http://www.blogjava.net/ec2008/archive/2008/07/19/216063.html project: test Driver path: D: \ workspace \ test \ WebRoot \ WEB-INF \ lib ...

  • Hibernate.cfg.xml configuration file (including the primary key generation strategy Introduction)

    Hibernate.cfg.xml configuration file: <? xml version = "1.0" encoding = "utf-8"?> <! DOCTYPE hibernate-configuration PUBLIC "- / / Hibernate / Hibernate Configuration DTD / / EN" "hibernate-configuration-2.0.dtd

  • The EJB3 Persistence

    EJB3 persistence with Hibernate is very similar to the mechanism: Environment: Server: JBOSS5.0 Database: MySQL5.0 1. Set up a data source First of all, in jboss-5.0.0.GA \ server \ default \ deploy, the establishment of a database used to connect the dat

  • Servlet brief introduction

    Servlet brief introduction: Servlet is a small application server Are used to complete the B / S architecture, the client requests the response to treatment Platform independence, performance, able to run thread Servlet API for Servlet provides the s ...

  • First Hibernate Example

    Curd a simple example. Source does not contain the dependent libraries, or playing too much of the package. PO object Note: One must have the default constructor 2 non-final modified. Otherwise useless lazy loading. UserDAOImpl category code, and other co

  • Struts2 + hibernate + spring problem user log in

    dao layer services layer action jsp <tr> <td align="center"> <b> user name: </ b> </ td> <td> <s: textfield name = "czyNumber" cssClass = "textstyle" theme = "simple" size = &q

  • Great collection of java interview topics

    1, object-oriented features of what has 1. Abstract: Abstract is that it has overlooked a subject has nothing to do with the current goal of those aspects in order to more fully with the current objectives of the attention-related aspects. Abstract does n

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries