我正在尝试通过 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 是不是这个问题.......