You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing a compatibility issue while trying to integrate the AWS library into my project. The library relies on an outdated version of kotlinx.serialization, creating a conflict with the current version used in my project.
To address this, I have made the following changes in the toml file, set the "rich version" to { strictly = "[1.6, )", prefer = "1.6.1", rejects = "[, 1.6[" } of org.jetbrains.kotlinx:kotlinx-serialization-core-jvm.
Despite these changes, the issue persists. The build scan indicates that I have successfully overridden the version, but I continue to encounter the following error messages
Your current kotlinx.serialization core version is too low, while the current Kotlin compiler plugin 1.9.10 requires at least 1.0-M1-SNAPSHOT. Please update your kotlinx.serialization runtime dependency.
Obviously, in the following configuration, the project compiles successfully. However, it leads to a runtime error as the required class cannot be found:
As a workaround, I discovered that annotating each Serializable class with @Suppress("PROVIDED_RUNTIME_TOO_LOW") seems to mitigate the issue. This solution has been discussed further in the context of the problem on GitHub: kotlinx.serialization issue #993.
I am facing a compatibility issue while trying to integrate the AWS library into my project. The library relies on an outdated version of kotlinx.serialization, creating a conflict with the current version used in my project.
To address this, I have made the following changes in the toml file, set the "rich version" to
{ strictly = "[1.6, )", prefer = "1.6.1", rejects = "[, 1.6[" }
oforg.jetbrains.kotlinx:kotlinx-serialization-core-jvm
.Despite these changes, the issue persists. The build scan indicates that I have successfully overridden the version, but I continue to encounter the following error messages
Obviously, in the following configuration, the project compiles successfully. However, it leads to a runtime error as the required class cannot be found:
As a workaround, I discovered that annotating each Serializable class with
@Suppress("PROVIDED_RUNTIME_TOO_LOW")
seems to mitigate the issue. This solution has been discussed further in the context of the problem on GitHub: kotlinx.serialization issue #993.software.amazon.glue:schema-registry-serde:1.1.17
The text was updated successfully, but these errors were encountered: