【发布时间】:2011-01-15 13:28:13
【问题描述】:
我正在使用带有 maven2 插件的 eclipse。
当以“部署”为目标进行 Run-As -> 构建时,我收到此错误:
Error message:org.codehaus.plexus.component.configurator.ComponentConfigurationException: Class 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be instantiated
我不确定我什至需要进行“部署”,我有另一个构建可以实现“编译”目标,并且从我学到的运行方式 -> 在服务器上运行 (tomcat) 是足以将我的应用程序本地部署到 tomcat。
我是否需要运行此构建“部署”目标才能在本地运行,我应该删除它并使用“在服务器上运行”吗?
【问题讨论】:
标签: java eclipse spring maven-2