错误:java.lang.Illegal Argument Exception: Document base F:/apache-tomcat-7.0.40/webapps/ web3 does no
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                错误:java.lang.Illegal Argument Exception: Document base F:/apache-tomcat-7.0.40/webapps/ web3 does no
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                MyEclipse部署Tomcat時,出現以下問題:
錯誤:java.lang.Illegal Argument Exception: Document base F:/apache-tomcat-7.0.40/webapps/ web3 does not exist or is not a readable directory.
 
 
解決方法:打開F:/apache-tomcat-7.0.40\conf\server.xml文件,刪除標簽 <Context docBase="web3" path="/web3" reloadable="true" source="org.eclipse.jst.jee.server:web3"/>
 
 ? ? ? ? ?標簽 <Context>的內容是在部署Tomcat時自動生成的,每當部署一個新的項目,server.xml文件中就會新增一條<Context>記錄。我之前在Eclipse中部署過web3這個項目,遺留的問題,只要刪除了此Context就行了。
 
 
總結
以上是生活随笔為你收集整理的错误:java.lang.Illegal Argument Exception: Document base F:/apache-tomcat-7.0.40/webapps/ web3 does no的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: Syntax error, annota
- 下一篇: Errors occurred duri
