Skip to content

Kotlin 2.1.0 with jte-kotlin 3.1.16 #424

Open
@yamin8000

Description

500: gg.jte.TemplateException: Failed to compile template, error at index.kte:1
Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.
Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.
Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.
Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.
@file:Suppress("ktlint")
C:\Users\ys\IdeaProjects\BabyWeb\jte-classes\gg\jte\generated\ondemand\JteindexGenerated.kt:1:7
Reason: Class 'kotlin.Suppress' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from C:/Users/ys/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0/85f8b81009cda5890e54ba67d64b5e599c645020/kotlin-stdlib-2.1.0.jar!/kotlin/Suppress.class
@Suppress("UNCHECKED_CAST", "UNUSED_PARAMETER")
C:\Users\ys\IdeaProjects\BabyWeb\jte-classes\gg\jte\generated\ondemand\JteindexGenerated.kt:3:2
Reason: Class 'kotlin.Suppress' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from C:/Users/ys/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0/85f8b81009cda5890e54ba67d64b5e599c645020/kotlin-stdlib-2.1.0.jar!/kotlin/Suppress.class
	@JvmField val JTE_NAME = "index.kte"
C:\Users\ys\IdeaProjects\BabyWeb\jte-classes\gg\jte\generated\ondemand\JteindexGenerated.kt:6:3
Reason: Class 'kotlin.jvm.JvmField' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from C:/Users/ys/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0/85f8b81009cda5890e54ba67d64b5e599c645020/kotlin-stdlib-2.1.0.jar!/kotlin/jvm/JvmField.class
	@JvmField val JTE_LINE_INFO = intArrayOf(0,0,0,0,0,0,0,4,4,4,4,6,6,6,0,1,1,1,1,1)
C:\Users\ys\IdeaProjects\BabyWeb\jte-classes\gg\jte\generated\ondemand\JteindexGenerated.kt:7:3
Reason: Class 'kotlin.jvm.JvmField' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from C:/Users/ys/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0/85f8b81009cda5890e54ba67d64b5e599c645020/kotlin-stdlib-2.1.0.jar!/kotlin/jvm/JvmField.class
	@JvmStatic fun render(jteOutput:gg.jte.html.HtmlTemplateOutput, jteHtmlInterceptor:gg.jte.html.HtmlInterceptor?, id:Int, name:String) {
C:\Users\ys\IdeaProjects\BabyWeb\jte-classes\gg\jte\generated\ondemand\JteindexGenerated.kt:8:3
Reason: Class 'kotlin.jvm.JvmStatic' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from C:/Users/ys/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0/85f8b81009cda5890e54ba67d64b5e599c645020/kotlin-stdlib-2.1.0.jar!/kotlin/jvm/JvmStatic.class
		jteOutput.writeContent("<html lang=\"en\">\r\n<body>\r\n<h1>Hello, ")
C:\Users\ys\IdeaProjects\BabyWeb\jte-classes\gg\jte\generated\ondemand\JteindexGenerated.kt:9:13
Reason: Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from C:/Users/ys/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0/85f8b81009cda5890e54ba67d64b5e599c645020/kotlin-stdlib-2.1.0.jar!/kotlin/Unit.class
		jteOutput.setContext("h1", null)
C:\Users\ys\IdeaProjects\BabyWeb\jte-classes\gg\jte\generated\ondemand\JteindexGenerated.kt:10:13
Reason: Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from C:/Users/ys/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0/85f8b81009cda5890e54ba67d64b5e599c645020/kotlin-stdlib-2.1.0.jar!/kotlin/Unit.class
		jteOutput.writeUserContent(name)
C:\Users\ys\IdeaProjects\BabyWeb\jte-classes\gg\jte\generated\ondemand\JteindexGenerated.kt:11:13
Reason: Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from C:/Users/ys/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0/85f8b81009cda5890e54ba67d64b5e599c645020/kotlin-stdlib-2.1.0.jar!/kotlin/Unit.class
		jteOutput.writeContent("!</h1>\r\n</body>\r\n</html>")
C:\Users\ys\IdeaProjects\BabyWeb\jte-classes\gg\jte\generated\ondemand\JteindexGenerated.kt:12:13
Reason: Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from C:/Users/ys/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0/85f8b81009cda5890e54ba67d64b5e599c645020/kotlin-stdlib-2.1.0.jar!/kotlin/Unit.class
	@JvmStatic fun renderMap(jteOutput:gg.jte.html.HtmlTemplateOutput, jteHtmlInterceptor:gg.jte.html.HtmlInterceptor?, params:Map<String, Any?>) {
C:\Users\ys\IdeaProjects\BabyWeb\jte-classes\gg\jte\generated\ondemand\JteindexGenerated.kt:14:3
Reason: Class 'kotlin.jvm.JvmStatic' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from C:/Users/ys/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0/85f8b81009cda5890e54ba67d64b5e599c645020/kotlin-stdlib-2.1.0.jar!/kotlin/jvm/JvmStatic.class
		render(jteOutput, jteHtmlInterceptor, id, name);
C:\Users\ys\IdeaProjects\BabyWeb\jte-classes\gg\jte\generated\ondemand\JteindexGenerated.kt:17:3
Reason: Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from C:/Users/ys/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.0/85f8b81009cda5890e54ba67d64b5e599c645020/kotlin-stdlib-2.1.0.jar!/kotlin/Unit.class

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions