java.lang.RuntimeException: java.lang.reflect.InvocationTargetException


Samebug tips

Change the connection port and ip adress. If you're trying to connect to your server from your own computer, check if you haven't already connected to the server in another instance.


7 months ago
Expert tip

Try changing the port in core-site.xml from 9000 to 9001 as it seems port 9000 doesn't work.


5 months ago
Expert tip

Solutions on the web

Solution icon of github
via GitHub by KEESSTARR
, 1 year ago
java.lang.reflect.InvocationTargetException

Solution icon of github
via GitHub by KEESSTARR
, 1 year ago
java.lang.reflect.InvocationTargetException

Solution icon of github
via GitHub by Smull99
, 1 year ago
java.lang.reflect.InvocationTargetException

Solution icon of github
via GitHub by namkangice
, 1 year ago
java.lang.reflect.InvocationTargetException

Solution icon of github
via GitHub by 2jakep
, 1 year ago
java.lang.reflect.InvocationTargetException

Solution icon of github
via GitHub by sitruc1234
, 1 year ago
java.lang.reflect.InvocationTargetException

Solution icon of github
via GitHub by wilkinsona
, 1 year ago
java.lang.reflect.InvocationTargetException

Solution icon of github
via GitHub by EpicAwesomeWolf
, 1 year ago
java.lang.reflect.InvocationTargetException

Solution icon of github
via GitHub by jacksonash
, 1 year ago
java.lang.reflect.InvocationTargetException

Solution icon of web
via spring.io by Unknown author, 1 year ago
java.lang.reflect.InvocationTargetException

Stack trace

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:62)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:104)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:61)
	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
	... 3 more
Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use
	at io.undertow.Undertow.start(Undertow.java:186)
	at org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainer.start(UndertowEmbeddedServletContainer.java:121)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:293)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:760)
	at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:360)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:306)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)
	at ink.abb.pogo.scraper.MainKt.main(Main.kt:71)
	... 8 more
Caused by: java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:433)
	at sun.nio.ch.Net.bind(Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190)
	at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)
	at io.undertow.Undertow.start(Undertow.java:142)
	... 19 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 2 days ago
59 times, 1 week ago
158 more bugmates