jnr / jnr-unixsocket

UNIX domain sockets (AF_UNIX) for Java
Apache License 2.0
278 stars 75 forks source link

Found interface org.objectweb.asm.ClassVisitor, but class was expected #86

Closed lorna1 closed 4 years ago

lorna1 commented 4 years ago

Caused by: java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.ClassVisitor, but class was expected at jnr.ffi.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:101) at jnr.ffi.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:86) at jnr.ffi.provider.jffi.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:44) at jnr.ffi.LibraryLoader.load(LibraryLoader.java:392)

lorna1 commented 4 years ago

asm:asm.jar 3.1 ow2.asm 7.1

headius commented 4 years ago

This would be an incompatibility in https://github.com/jnr/jnr-ffi with the very old ASM version you are using. You will want those versions to match and be more recent.