更新Maven项目内部错误 - ReferencedComponentXMIResourceImpl无法转换为JptXmlResource [英] Update Maven project internal error - ReferencedComponentXMIResourceImpl cannot be cast to JptXmlResource
问题描述
我需要Eclipse / Maven专家的一些帮助,我无法将我的项目看作是在Eclipse中部署到Tomcat的资源。所以我做了一个搜索,发现如果我运行Maven - >更新项目,这将缓解问题。但是,更新导致出现以下错误:
I need some help from Eclipse/Maven experts out there - I am unable to see my project as a resource to deploy to Tomcat within Eclipse. So I did a search and found that if I run Maven-->Update Project, that would alleviate the problem. However, updating resulted in the following error:
An internal error occurred during: "Updating Maven Project".
org.eclipse.wst.common.componentcore.internal.impl.ReferencedComponentXMIResourceImpl cannot be cast to org.eclipse.jpt.common.core.resource.xml.JptXmlResource
我不知道问题可能是什么。
I have no idea what the problem could be.
推荐答案
p>我可以通过禁用活动的Java EE配置器JPA配置器处理问题:
首选项 - > Maven - > Java EE集成 - >选择活动的Java EE配置程序 - > disable 'JPA Configurator'
I could handle the problem by disable the active Java EE configurator 'JPA Configurator' under: Preferences -> Maven -> Java EE Integration -> Select active Java EE configurators -> disable 'JPA Configurator'
我正在使用eclipse Luna with m2e 1.5.0.20140606-0033。
I am using eclipse Luna with m2e 1.5.0.20140606-0033.
这篇关于更新Maven项目内部错误 - ReferencedComponentXMIResourceImpl无法转换为JptXmlResource的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!