nebula-algorithm或者nebula-spark-connector引入项目pom mvnclean package 直接 stackoverflow

Nebula 版本 v2.5.0

配置

constituent[42]: file:/D:/software/apache-maven-3.6.3/bin/../lib/wagon-provider-api-3.3.4.jar
---------------------------------------------------
Exception in thread "main" java.lang.StackOverflowError
        at java.lang.StringCoding.deref(StringCoding.java:63)
        at java.lang.StringCoding.encode(StringCoding.java:330)
        at java.lang.String.getBytes(String.java:918)
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:225)
        at java.util.zip.ZipFile.<init>(ZipFile.java:155)
        at java.util.zip.ZipFile.<init>(ZipFile.java:169)
        at org.codehaus.plexus.components.io.resources.PlexusIoZipFileResourceCollection.getEntries(PlexusIoZipFileResourceCollection.java:53)
        at org.codehaus.plexus.components.io.resources.AbstractPlexusIoArchiveResourceCollection.getResources(AbstractPlexusIoArchiveResourceCollection.

jvm内存不足导致的堆栈溢出,设置下编译器的VM Options

这个包很大还是 为啥我用别的包都没问题 或者加入其他很多的包 都没问题 单独只加这个包 也就是整个项目只有这个包的依赖 还是会报错

你设置过JVM的默认参数么,我用jdk1.8 的默认参数,引用包时不会栈溢出,你试下调大vm配置是否可以正常编译打包

同样遇到这个错误,调大了mvn命令的vm参数,还是报
Exception in thread “main” java.lang.StackOverflowError
at java.lang.Integer.toString(Integer.java:402)
at java.lang.Integer.toString(Integer.java:935)
at java.lang.String.valueOf(String.java:2994)
at java.lang.StringBuilder.append(StringBuilder.java:131)
at org.fusesource.jansi.Ansi._appendEscapeSequence(Ansi.java:768)
at org.fusesource.jansi.Ansi.flushAttributes(Ansi.java:754)
at org.fusesource.jansi.Ansi.a(Ansi.java:596)
at org.apache.maven.shared.utils.logging.AnsiMessageBuilder.info(AnsiMessageBuilder.java:60)
at org.slf4j.impl.MavenSimpleLogger.renderLevel(MavenSimpleLogger.java:50)
at org.slf4j.impl.SimpleLogger.log(SimpleLogger.java:277)
at org.slf4j.impl.SimpleLogger.info(SimpleLogger.java:480)
at org.apache.maven.cli.logging.Slf4jLogger.info(Slf4jLogger.java:59)

浙ICP备20010487号