Errors using Vert. X

Asked

Viewed 57 times

0

C:\Unky\Web\BloodStrikeServer-master>java -cp classpath/commons.jar;classpath/fl
ex-com.jar;classpath/flex-cor.jar;classpath/junit.jar;classpath/link.jar;classpa
th/maven-com.jar;classpath/maven-sha.jar;classpath/mysql-con.jar;classpath/vertx
-cor.jar;classpath/vertx-cod.jar;classpath/netty.jar;classpath/netty-com.jar;cla
sspath/netty-buf.jar;classpath/netty-tran.jar;classpath/netty-han.jar;classpath/
netty-hanp.jar;classpath/netty-code.jar;classpath/netty-code2.jar;classpath/nett
y-res.jar;classpath/netty-resd.jar; -jar target/lobbyplayer-0.0.1-SNAPSHOT-fat.j
ar
===============================================================================
BloodStrike Lobby Server
Créditos: ExtremsX
Versão: 0.1 Beta
===============================================================================
Carregando Configurações
Configurações carregadas com sucesso!
Iniciando NetworkManager
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa
der.java:58)
Caused by: java.lang.NoSuchMethodError: io.netty.channel.nio.NioEventLoopGroup.(ILjava/util/concurrent/ThreadFactory;)V
        at io.vertx.core.impl.VertxImpl.(VertxImpl.java:129)
        at io.vertx.core.impl.VertxImpl.(VertxImpl.java:119)
        at io.vertx.core.impl.VertxImpl.(VertxImpl.java:115)
        at io.vertx.core.impl.VertxFactoryImpl.vertx(VertxFactoryImpl.java:34)
        at io.vertx.core.Vertx.vertx(Vertx.java:80)
        at com.bloodstrike.lobbyserver.Main.main(Main.java:32)
        ... 5 more

C:\Unky\Web\BloodStrikeServer-master>pause
Pressione qualquer tecla para continuar. . .

I don’t know what else to do. Basically, I try to start the program and it gives these errors.

  • I know very little about Vert. X, but this error seems to say that Netty’s version you’re using is wrong.

  • I’ll try to change the Netty version

  • I switched versions of all Netty jars to 4.1.1Final which is the mandatory and is now giving a different error

  • I inserted more vertx files and completely changed the error class.

  • Edit the question and show what the error is. Make it clear in the text which versions of all the Jars you are using and/or where you downloaded them from.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.