
场景:
1、springcloud eureka server
2、jdk8
启动项目时报错:The method flatten(Node<T>, IntFunction<T[]>) in the type Nodes is not applicable for the arguments
最终问题在于:

之前为了调试代码进入jdk源码时能看到一些变量的值,参照https://blog.csdn.net/john1337/article/details/89678852博文增加了debug版本的jar包,这时启动eureka server时就报了上面的错误,
解决方案很明了了:删除加入的jdk_debug jar包即可!