简体   繁体   English

eclispe:在以下期间发生内部错误:“更新Maven项目” java.lang.StackOverflowError

[英]eclispe : An internal error occurred during: “Updating Maven Project” java.lang.StackOverflowError

Does anyone face the following exception in eclipse when project is updated for maven using Right-click on project -> Maven -> Update Project. 使用右键单击项目-> Maven->更新项目为maven更新项目时,是否有人会在eclipse中遇到以下异常。

Dialog 1 => An internal error occurred during: "Updating Maven Project" 对话框1 => 在以下过程中发生内部错误:“更新Maven项目”

Dialog 2 => A stack overflow error has occured . 对话框2 => 发生堆栈溢出错误。 YOu are recommened to exit the workbench. 建议您退出工作台。 ...Do you want to exit the workbench? ...您要退出工作台吗?

Reported the same for eclipse bug team : https://bugs.eclipse.org/bugs/show_bug.cgi?id=443050 对于Eclipse Bug团队报告了相同的内容: https : //bugs.eclipse.org/bugs/show_bug.cgi?id=443050

Eclipse version : 4.3 Eclipse版本:4.3

==================================ECLIPSE LOGS ================================== ================================= ECLIPSE日志================ ====================

!MESSAGE An internal error occurred during: "Updating Maven Project".
!STACK 0
java.lang.StackOverflowError
    at java.util.AbstractCollection.containsAll(AbstractCollection.java:278)
    at java.util.AbstractSet.equals(AbstractSet.java:78)
    at org.sonatype.aether.util.graph.transformer.NearestVersionConflictResolver$1.accept(NearestVersionConflictResolver.java:193)
    at org.sonatype.aether.util.graph.PathRecordingDependencyVisitor.visitEnter(PathRecordingDependencyVisitor.java:88)
    at org.sonatype.aether.impl.internal.GraphEdge.accept(GraphEdge.java:198)
    at org.sonatype.aether.impl.internal.GraphEdge.accept(GraphEdge.java:202)
    at org.sonatype.aether.impl.internal.GraphEdge.accept(GraphEdge.java:202)
    at org.sonatype.aether.impl.internal.GraphEdge.accept(GraphEdge.java:202)
    at org.sonatype.aether.impl.internal.GraphEdge.accept(GraphEdge.java:202)
   .....

Download the latest Maven (3.2.3) from http://maven.apache.org/ and run it from the command line. http://maven.apache.org/下载最新的Maven(3.2.3)并从命令行运行它。 It should give you a useful error message instead of a stack overflow. 它应该给您一个有用的错误消息,而不是堆栈溢出。

Background: There was a bug in some versions of Maven which couldn't detect cycles in the dependencies. 背景:Maven的某些版本中存在一个错误,该错误无法检测到依赖项中的周期。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM