解決啟動Tomcat報錯:Failed to destroy end point associated with ProtocolHandler["ajp-nio-8009"]
前景提要:我們安裝的maven倉庫預設情況下都放在了C盤中的m2/repository中,但windows使用者的作業系統都安裝在C盤,把maven倉庫放在C盤是很危險的,為此我們需要修改本地倉庫路徑。今天把框架中的maven依賴庫更換了下載地址和存放的位置,因為之前用的都是官網,下載包或者更新配置檔案的速度都特別慢,實在是忍受不了更換更了阿里雲提供的maven倉庫,感覺速度一下子就提升了n個等級,當然這個錯誤也是我在更改之後執行Tomcat之後出現的錯誤。
問題原因:因為自己更改了Maven倉庫的settings.xml的位置,所以配置環境和之前預設的環境變數不一致導致Tomcat執行出錯。
解決方法:
1.開啟myeclipse點選windows->preferences->maven->installations下add一個已經安裝到D:\Java目錄下的maven,如:D:\Java\maven-3.0.4,並勾選此新加項。並點選下面的browse按鈕開啟maven的全域性配置檔案,如:D:\Java\maven-3.0.4\conf\setting.xml。(如已經安裝好可跳過此步)
2.開啟myeclipse點選windows->preferences->maven->User setting下修改user setting選項為:D:\Java\m2\repository\settings.xml,並點選update settings。並點選下面的reindex按鈕更新索引。
3.點選配置視窗的apply按鈕,突出配置視窗。
4.最後開啟CMD,執行mvn help:system會發現Maven從遠端庫下載的jar包都會放到新修改後的路徑D:\Java\m2\repository中了。
相關文章
- 解決啟動報錯:Failed to destroy end point associated with ProtocolHandler["ajp-nio-8009"]AIProtocol
- 解決Tomcat啟動報錯問題:Failed to destroy end point associated with ProtocolHandler["ajp-nio-8009"]TomcatAIProtocol
- tomcat啟動出現錯誤:Failed to destroy end point associated with ProtocolHandler["ajp-nio-8009"]TomcatAIProtocol
- 嚴重: Failed to destroy end point associated with ProtocolHandler ["ajp-nio-8009"] java.lang.NullPointAIProtocolJavaNull
- 關於Tomcat啟動報錯:Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]TomcatAIProtocolHTTP
- tomocat 執行jsp檔案提示"Failed to destroy end point associated with ProtocolHandler ["ajp-nio-8009"]"JSAIProtocol
- org.apache.coyote.AbstractProtocol.destroy Failed to destroy end point associated with ProtocolHandlApacheProtocolAI
- SVN報錯“Failed to run the WC DB work queue associated with”解決辦法AI
- tomcat5啟動NotSerializableException報錯解決TomcatException
- VMware 啟動報錯 "Failed to lock the file"解決辦法AI
- Failed to run the WC DB work queue associated with 錯誤的解決AI
- Tomcat啟動報錯:Error starting static Resources解決方法TomcatError
- PyCharm啟動報錯:Failed to create JVM.解決辦法之一PyCharmAIJVM
- clipboard.destroy報錯
- tomcat啟動超時以及啟動之後開啟網頁報404錯誤的解決方法Tomcat網頁
- zabbix-server啟動報錯解決Server
- IDEA啟動時報Failed to create JVM錯誤的解決IdeaAIJVM
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- JDeveloper啟動時老是報錯-解決方法Developer
- MySQL 啟動服務報錯解決方案MySql
- 解決 Rust WebAssembly 啟動 Web 程式報錯RustWeb
- CRS啟動報錯Failed 3 to bind listening endpointAI
- keepalived啟動報錯解決一例
- 解決ProtocolHandler ["ajp-nio-8009"] java.net.BindException: Address already in use: bind問題ProtocolJavaIndexException
- Vue 啟動專案報錯 Failed to compile with 2 errorsVueAICompileError
- liunx tomcat 啟動卡住解決方案Tomcat
- 【tomcat報錯】A child container failed during startTomcatAI
- 啟動idea時, 碰到"failed to load jvm DLL ..."錯誤 解決方案IdeaAIJVM
- 解決MMM啟動監控報錯的問題
- Unity3D啟動報錯的解決方案Unity3D
- JBAS014613: Operation ("add") failed啟動報錯AI
- Oracle啟動報錯:ORA-03113: end-of-file on communication channelOracle
- ubuntu下git報錯fatal: The remote end hung up unexpectedly解決方案UbuntuGitREM
- Apache無法啟動解決 the requested operation has failedApacheAI
- tomcat無法啟動的解決方法Tomcat
- 解決docker啟動映象報錯:docker: Error response from daemonDockerError
- VirtualBox-4.3.0啟動報錯及解決辦法
- VM啟動報:failed to launch peer processAI