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