Skip to content

Error while compiling #11

@Alf21

Description

@Alf21

val LOGGER: Logger = LoggerFactory.getLogger("Streamer Update Service")

ERROR: Exception while analyzing expression at (16,34) in C:/.../streamer-wrapper/src/main/java/net/gtaun/shoebill/streamer/autoupdate/StreamerUpdateService.kt:
LoggerFactory.getLogger("Streamer Update Service")

java.lang.reflect.InaccessibleObjectException: Unable to make field private static final jdk.internal.misc.Unsafe jdk.internal.misc.Unsafe.theUnsafe accessible: module java.base does not "opens jdk.internal.misc" to unnamed module @7af3874e
...

can't compile the plugin. If i update Kotlin, the error disappears but as a sideeffect the server wont start because of incompatibility of the different Kotlin dependencies

So on, ByteOutputStream is deprecated

import com.sun.xml.internal.messaging.saaj.util.ByteOutputStream

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions