部署項(xiàng)目到tomcat中出現(xiàn)一個(gè)“黃嘆號(hào)!”。報(bào)錯(cuò)如下:
(1) Deployment is out of date due to changes in the underlying project contents. You'll need to manually 'Redeploy' the project to update the deployed archive.
(2)Deployment failure on Tomcat 6.x. Could not copy all resources to D:/.../webapps/eptInfo. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at D:/..../webapps/eptInfo.
解決方法:出現(xiàn)這個(gè)問題的原因很明顯給的提示是說:有些文件沒有被加載進(jìn)來。但為什么沒加載進(jìn)來呢?你可以看一下你原工程和部署到tomcat中的工程比較一下,看缺少什么,還有一種錯(cuò)誤是jar包的問題,你在工程中點(diǎn)擊右健選擇properties-->java build path看一下你的jar包,是不是有些前面出現(xiàn)了“黃嘆號(hào)!”,把這些jar包刪除然后重新加載進(jìn)來(當(dāng)然用不著的就不用了,情況不同,解決的方法不同)。
總結(jié):出現(xiàn)這個(gè)問題的原因是缺少文件或jar包。不要著急,一點(diǎn)一點(diǎn)去解決!希望對(duì)你有所幫助!
(1) Deployment is out of date due to changes in the underlying project contents. You'll need to manually 'Redeploy' the project to update the deployed archive.
(2)Deployment failure on Tomcat 6.x. Could not copy all resources to D:/.../webapps/eptInfo. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at D:/..../webapps/eptInfo.
解決方法:出現(xiàn)這個(gè)問題的原因很明顯給的提示是說:有些文件沒有被加載進(jìn)來。但為什么沒加載進(jìn)來呢?你可以看一下你原工程和部署到tomcat中的工程比較一下,看缺少什么,還有一種錯(cuò)誤是jar包的問題,你在工程中點(diǎn)擊右健選擇properties-->java build path看一下你的jar包,是不是有些前面出現(xiàn)了“黃嘆號(hào)!”,把這些jar包刪除然后重新加載進(jìn)來(當(dāng)然用不著的就不用了,情況不同,解決的方法不同)。
總結(jié):出現(xiàn)這個(gè)問題的原因是缺少文件或jar包。不要著急,一點(diǎn)一點(diǎn)去解決!希望對(duì)你有所幫助!
更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主
微信掃碼或搜索:z360901061

微信掃一掃加我為好友
QQ號(hào)聯(lián)系: 360901061
您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長非常感激您!手機(jī)微信長按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。
【本文對(duì)您有幫助就好】元
