无法在项目上执行目标org.eclipse.xtend:xtend-maven-plugin:2.8.4:compile(默认)

时间:2019-01-23 15:23:16

标签: java apache maven-2 maven-3

我有这个问题: 可以在Windows 10上使用相同版本的Java和apache-maven构建相同的maven项目(相同的pom.xml)。 在Linux(从Virtual Machine(Oracle))上,通过调用mvn clean install给出此错误:

[ERROR] Failed to execute goal org.eclipse.xtend:xtend-maven-plugin:2.8.4:compile (default) on project hcm: Execution default of goal org.eclipse.xtend:xtend-maven-plugin:2.8.4:compile failed: Unable to load the mojo 'compile' (or one of its required components) from the plugin 'org.eclipse.xtend:xtend-maven-plugin:2.8.4': com.google.inject.ProvisionException: Unable to provision, see the following errors:

[ERROR] 
[ERROR] 1) Error injecting constructor, java.lang.SecurityException: class "org.eclipse.core.runtime.OperationCanceledException"'s signer information does not match signer information of other classes in the same package
[ERROR]   at org.eclipse.xtend.maven.XtendCompile.<init>(XtendCompile.java:27)
[ERROR]   while locating org.eclipse.xtend.maven.XtendCompile
[ERROR]   at ClassRealm[plugin>org.eclipse.xtend:xtend-maven-plugin:2.8.4, parent: sun.misc.Launcher$AppClassLoader@5a4b4b50] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
[ERROR]   while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=org.eclipse.xtend:xtend-maven-plugin:2.8.4:compile)
[ERROR] 
[ERROR] 1 error
[ERROR]       role: org.apache.maven.plugin.Mojo
[ERROR]   roleHint: org.eclipse.xtend:xtend-maven-plugin:2.8.4:compile
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException

我尝试重新安装具有不同版本的Maven,并清除了m2存储库文件夹,但未成功。 有什么暗示可能有问题吗?

0 个答案:

没有答案