Slick Forums

Discuss the Slick 2D Library
It is currently Tue Oct 15, 2019 1:01 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Dec 02, 2016 2:51 am 

Joined: Fri Dec 02, 2016 2:44 am
Posts: 2
Hello I have followed this github code and all looks well. I even added slick, slick-util, kryonet, lwjgl jars to my build path in eclipse, along with the natives for lwjgl. ... /main/java

But I am getting this error/exception and I have been looking online, but there are no solutions to it as of now. Can anyone help?

Exception in thread "main" java.lang.IllegalArgumentException: Unable to create serializer "com.esotericsoftware.kryo.serializers.FieldSerializer" for class: com.esotericsoftware.kryonet.FrameworkMessage$RegisterTCP
   at com.esotericsoftware.kryo.Kryo.newSerializer(
   at com.esotericsoftware.kryo.Kryo.newDefaultSerializer(
   at com.esotericsoftware.kryo.Kryo.getDefaultSerializer(
   at com.esotericsoftware.kryo.Kryo.register(
   at com.esotericsoftware.kryonet.KryoSerialization.<init>(
   at com.esotericsoftware.kryonet.KryoSerialization.<init>(
   at com.esotericsoftware.kryonet.Client.<init>(
   at com.esotericsoftware.kryonet.Client.<init>(
   at Client.PlayerClient.<init>(
   at Client.PlayerClient.main(
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at com.esotericsoftware.kryo.Kryo.newSerializer(
   ... 9 more
Caused by: java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.MethodVisitor, but class was expected
   at com.esotericsoftware.reflectasm.FieldAccess.insertConstructor(
   at com.esotericsoftware.reflectasm.FieldAccess.get(
   at com.esotericsoftware.kryo.serializers.FieldSerializer.rebuildCachedFields(
   at com.esotericsoftware.kryo.serializers.FieldSerializer.<init>(
   ... 14 more

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: MSN [Bot] and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group