Eclipse tomcat error: Document base does not exist or is not a readable directory

后端 未结 20 3492
误落风尘
误落风尘 2020-12-04 10:44
13-dic-2011 17.00.36 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in producti         


        
20条回答
  •  -上瘾入骨i
    2020-12-04 11:39

    Looking at the exception you get, this looks like a problem with publishing your WEB-App (eg. Eclipse WTP could mess something up). First things that come in my mind:

    Check your Tomcat server settings: go to Servers - double click on your server. Get your 'Server Locations - Server Path' and check if it exists and check the user/group read/write permissions. eg. ls -lh somepath/.medadata/.plugins/.org.eclipse.wst.server.core/tmp0 You must be owner or at least in same group for the folder.

    Clean the eclipse workspace. (Project - clean all)

    Clean/Republish your wep-app (right click on server, clean, publish).

    Check if the application is published, there should be a folder named Preventini in /home/claudio/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ Also check the permissions here again (see above).

提交回复
热议问题