2017-06-13 30 views
0

我正在修改struts2 web項目,但運行時發佈到本地weblogic服務器。它有下面的錯誤:它被發現,成像-01012005.jar丟失。 現在我該怎麼做才能解決這個問題?struts2 web項目maven構建和發佈有錯誤

Error(s) found in module 'aeon_app_public'. Publish was cancelled. See "Problems" view for details. 
     The project cannot be built until build path errors are resolved at aeon_app_public 
     The container 'Maven Dependencies' references non existing library 
    'C:\Users\rwhchiu\.m2\repository\com\jhlabs\imaging\01012005\imaging-01012005.jar' 
at aeon_app_public 
     Failed to read artifact descriptor for com.jhlabs:imaging:jar:01012005 
+0

添加更多的庫到您的項目或使用代理服務器。 –

回答

0

解決了指的鏈接:https://issues.sonatype.org/browse/MVNCENTRAL-463

candrews Craig Andrews added a comment - 06/16/14 07:30 PM 
https://jira.codehaus.org/browse/MAVENUPLOAD-2350 explains that com.jhlabs:imaging was renamed to com.jhlabs:filters, and that is in Maven Central. 
So I suppose everyone could exclude the com.jhlabs:imaging from jcaptcha and depend on com.jhlabs:filters:2.0.235-1 instead. 
Of course, it would be better if someone would upload a new version of com.octo.captcha:jcaptcha with that dependency changed.