问题
Kotlin: [Internal Error] java.lang.LinkageError: loader constraint violation: loader (instance of org/jetbrains/kotlin/cli/jvm/plugins/PluginURLClassLoader$SelfThenParentURLClassLoader) previously initiated loading for a different type with name "kotlin/sequences/Sequence"
解决方案
因为使用的是idea,这个错误看起来就像是jetbrains软件中的插件与Spring的源码冲突了,后来看到github上有人也遇到这个问题,然后解决方法竟然上升级成最新版的idea,当前使用的版本上2019.2的版本,目前编译没有发现这个问题。
github上面的链接
use idea compile spring5 source code occur error and i haven pull the lastest kotlin #23354
这个问题目前已经关闭。