SpringBoot 1.5.2, Eclipse, JRebel Exception

ZeroTurnaround Homepage Forums JRebel Support SpringBoot 1.5.2, Eclipse, JRebel Exception

This topic contains 1 reply, has 2 voices, and was last updated by  Hannes Metssalu 3 months ago.

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

    sjardine
    Member

    When trying to start my project with ${jrebel_args} in eclipse, I get the following exception. I don’t get the exception with out the parameter in eclipse.

    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.NoSuchMethodError: org.eclipse.jetty.util.TypeUtil.getLoadedFrom(Ljava/lang/Class;)Lorg/eclipse/jetty/util/resource/Resource;
    	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137)
    	at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:536)
    	at org.springframework.context.support.AbstractApplicationContext.jrLockAndRefresh(AbstractApplicationContext.java)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java)
    	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
    	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737)
    	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370)
    	at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
    	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162)
    	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151)
    	at com.mjnservices.lms.LMSApplication.main(LMSApplication.java:57)
    Caused by: java.lang.NoSuchMethodError: org.eclipse.jetty.util.TypeUtil.getLoadedFrom(Ljava/lang/Class;)Lorg/eclipse/jetty/util/resource/Resource;
    	at org.eclipse.jetty.webapp.WebAppContext.<clinit>(WebAppContext.java:140)
    	at org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainerFactory.getEmbeddedServletContainer(JettyEmbeddedServletContainerFactory.java:170)
    	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:164)
    	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:134)
    	... 10 common frames omitted
    

    Any ideas? What else do you need?

    Thanks!
    Steve

    #62542

    Hannes Metssalu
    Rebel Staff

    Hey Steve,

    Could you provide us with some more details? To get the best picture of the environment you’re using, please add an additional argument to ${jrebel_args} – “-Drebel.log=trace” and reproduce the issue, just start up the server. This will generate a log file to /{user_home}/.jrebel/jrebel.log.

    Please send it to support@zeroturnaround.com and we’ll take a look. Hopefully we can then provide you with a fix.

    Thanks!

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

You must be logged in to reply to this topic.