About: Vertx Errors

Asked

Viewed 21 times

0

I was testing my application, and when I ran, I got the following error:

===============================================================================
BloodStrike Lobby Server
Créditos: ExtremsX
Versão: 0.1 Beta
===============================================================================
Carregando Configurações
Erro ao carregar as cofiguraçõesjava.lang.NullPointerException
Iniciando NetworkManager
Exception in thread "main" 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.startClientDebug(Main.java:48)
    at com.bloodstrike.lobbyserver.Main.main(Main.java:31)

What is this error, how to solve, because it is called?

  • It means that you have a Netty JAR in your classpath/modulepath which is from a version incompatible with vertx. You can download the correct version on https://netty.io/

  • This question is a breakdown of a previous question (not a duplicate): https://answall.com/q/318616/132

  • Victor, let’s move this discussion to a chat room, I really need your help on this project

  • For you to know, I don’t even use Etty in this project and this bugger... I only use vertx

  • So apparently vertx uses Netty obligatorily (I don’t know why, but uses it). So you can’t use vertx without using Netty either. Apparently there is some Netty JAR in your classpath, but it is not the right one.

No answers

Browser other questions tagged

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