簡體   English   中英

通過eclipse和ant腳本進行構建的構建問題

[英]Issue with build which build by eclipse and ant script

我正在嘗試通過Eclipse使用ANT腳本來構建我的項目。 到星期五,它可以正常工作。。。。但是從最近兩天開始,無論我從工作區中構建的哪個構建,構建都成功完成,但是當我嘗試部署該耳朵時,出現以下錯誤,並且我的耳朵無法部署。

[DispatcherPortlet] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PreReportController' defined in PortletContext resource [/WEB-INF/context/PreReport-portlet.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.adgo.portlet.PreReportController]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
    The import com.adgo.usercommon cannot be resolved
    The import app cannot be resolved
    The import app cannot be resolved
    The import app cannot be resolved
    The import app cannot be resolved
    The import app cannot be resolved
    The import app cannot be resolved
    The import app cannot be resolved
    The import com.k2.event cannot be resolved
    The import com.k2.util cannot be resolved
    The import com.k2.util cannot be resolved
    CustomeLogger cannot be resolved

我不知道出了什么問題。 我有5個工作區,所有工作區都處於運行狀態。 但是現在所有這些工作空間中的所有構建都給了我同樣的錯誤。 我沒有為Eclipse和JBoss更改Java。 請給我建議。 我不知道我的Java / Eclipse / System / Jboss是這個問題.......

有SeeME所是某種與編譯問題com.adgo.portlet.PreReportController類。

嘗試解決它們。 確保您具有所有需要的庫。 您可能還必須將某些庫放在服務器端文件夾中。

如果以上兩個選項均被選中,則您不會遇到此錯誤。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM