ktor icon indicating copy to clipboard operation
ktor copied to clipboard

Error: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"

Open Arthur-Kamau opened this issue 7 years ago • 7 comments

Ktor Version and Engine Used (client or server and name)

Ktor version 1.2.3 Server Engine Netty Server Templating Html DSL & freemaker Client Apache Http Client Engine & Http Client Engine java version openjdk version "1.8.0_222" Linux ubuntu version 16.04

Describe the bug After creating a project in https://start.ktor.io. The project does not run.

To Reproduce Create a project and run the project.

Expected behavior After creating a ktor project it should run. The project created Github Repo link

Screenshots Screenshot of error stacktrace.

image 1

image 2

Arthur-Kamau avatar Aug 08 '19 06:08 Arthur-Kamau

I've also met the same situation.

MistRay avatar Aug 20 '19 07:08 MistRay

Feedback on the above bug would be much appreciated. @MistRay how did you resolve the error.

Arthur-Kamau avatar Aug 28 '19 17:08 Arthur-Kamau

I have also met the same situation. Any update?

MahmoodAliL avatar Aug 28 '19 19:08 MahmoodAliL

It got fixed by updating the kotlin version in intellij

ShradhaSangtani avatar Oct 07 '19 16:10 ShradhaSangtani

Updating the Kotlin version on IntelliJ also worked for me

wellybean avatar Oct 14 '19 11:10 wellybean

@Arthur-Kamau Try updating the version of the Kotlin plugin in your IDEA

sammynjihia avatar Dec 05 '19 14:12 sammynjihia

Updating kotlin version solved the issue for me too

Puneethraj avatar May 12 '20 10:05 Puneethraj