Kotlin tomcat application failed to start

ZeroTurnaround Homepage Forums XRebel Kotlin tomcat application failed to start

Tagged: ,

This topic contains 1 reply, has 1 voice, and was last updated by  gubber 3 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #66766


    Hi, I just try to user XRebel, I’ve added -javaagent:D:/utils/xrebel/xrebel.jar to VM options for start tomcat configuration. And after this changes Tomcat is failed to start with error

    Disconnected from the target VM, address: '', transport: 'socket'
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    FATAL ERROR in native method: processing of -javaagent failed
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
    	at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
    Caused by: java.lang.UnsupportedOperationException: class redefinition failed: attempted to add a method
    	at sun.instrument.InstrumentationImpl.redefineClasses0(Native Method)
    	at sun.instrument.InstrumentationImpl.redefineClasses(InstrumentationImpl.java:170)
    	at com.zeroturnaround.xrebel.bootstrap.f.a(XRebel:142)
    	at com.zeroturnaround.xrebel.bootstrap.k.a(XRebel:24)
    	at com.zeroturnaround.xrebel.bootstrap.n.a(XRebel:57)
    	at com.zeroturnaround.xrebel.bootstrap.AgentMain.premain(XRebel:67)
    	... 6 more

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.