Hi team,
I am just starting to try Jrebel on my first Java web application using SpringBoot and Eclipse Luna via this Tutorial ” https://www.youtube.com/watch?v=tnVKN25dIm8 ” and whenever I activate jRebel and I run the application I always get this exception:
. ____ _ __ _ _
/\\ / ___’_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | ‘_ | ‘_| | ‘_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
‘ |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.0.0.M2)
2017-07-24 15:42:52.895 INFO 28076 — [ main] com.proji.PROG.ProgApplication : Starting ProgApplication on LMA000604 with PID 28076 (D:\Users\atchita\Desktop\PROG\target\classes started by atchita in D:\Users\atchita\Desktop\PROG)
2017-07-24 15:42:52.909 INFO 28076 — [ main] com.proji.PROG.ProgApplication : No active profile set, falling back to default profiles: default
2017-07-24 15:42:53.133 INFO 28076 — [ main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@32a68f4f: startup date [Mon Jul 24 15:42:53 WEST 2017]; root of context hierarchy
2017-07-24 15:42:55.290 WARN 28076 — [ main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition ‘com.vaadin.spring.VaadinConfiguration’ since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as ‘static’.
2017-07-24 15:42:56.598 INFO 28076 — [ main] trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration’ of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$bb2b5b05] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-07-24 15:42:57.381 INFO 28076 — [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2017-07-24 15:42:57.408 INFO 28076 — [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2017-07-24 15:42:57.410 INFO 28076 — [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.15
2017-07-24 15:42:57.727 INFO 28076 — [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2017-07-24 15:42:57.727 INFO 28076 — [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 4594 ms
2017-07-24 15:42:58.473 INFO 28076 — [ost-startStop-1] c.v.s.b.i.VaadinServletConfiguration : Registering Vaadin servlet
2017-07-24 15:42:58.474 INFO 28076 — [ost-startStop-1] c.v.s.b.i.VaadinServletConfiguration : Servlet will be mapped to URLs [/vaadinServlet/*, /VAADIN/*]
2017-07-24 15:42:58.509 INFO 28076 — [ost-startStop-1] c.v.s.b.i.VaadinServletConfiguration : Setting servlet init parameters
2017-07-24 15:42:58.510 INFO 28076 — [ost-startStop-1] c.v.s.b.i.VaadinServletConfiguration : Set servlet init parameter [productionMode] = [false]
2017-07-24 15:42:58.510 INFO 28076 — [ost-startStop-1] c.v.s.b.i.VaadinServletConfiguration : Set servlet init parameter [resourceCacheTime] = [3600]
2017-07-24 15:42:58.510 INFO 28076 — [ost-startStop-1] c.v.s.b.i.VaadinServletConfiguration : Set servlet init parameter [heartbeatInterval] = [300]
2017-07-24 15:42:58.510 INFO 28076 — [ost-startStop-1] c.v.s.b.i.VaadinServletConfiguration : Set servlet init parameter [closeIdleSessions] = [false]
2017-07-24 15:42:58.614 INFO 28076 — [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: ‘dispatcherServlet’ to [/]
2017-07-24 15:42:58.620 INFO 28076 — [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: ‘springVaadinServlet’ to [/vaadinServlet/*, /VAADIN/*]
2017-07-24 15:42:58.628 INFO 28076 — [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: ‘characterEncodingFilter’ to: [/*]
2017-07-24 15:42:58.630 INFO 28076 — [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: ‘hiddenHttpMethodFilter’ to: [/*]
2017-07-24 15:42:58.630 INFO 28076 — [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: ‘httpPutFormContentFilter’ to: [/*]
2017-07-24 15:42:58.630 INFO 28076 — [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: ‘requestContextFilter’ to: [/*]
2017-07-24 15:42:59.030 INFO 28076 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 – Starting…
2017-07-24 15:42:59.362 INFO 28076 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 – Start completed.
2017-07-24 15:42:59.701 INFO 28076 — [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit ‘default’
2017-07-24 15:42:59.738 INFO 28076 — [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
…]
2017-07-24 15:42:59.917 INFO 28076 — [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.2.10.Final}
2017-07-24 15:42:59.922 INFO 28076 — [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
2017-07-24 15:43:00.028 INFO 28076 — [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2017-07-24 15:43:00.384 INFO 28076 — [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2017-07-24 15:43:01.743 INFO 28076 — [ main] o.h.t.schema.internal.SchemaCreatorImpl : HHH000476: Executing import script ‘org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@54033a65’
2017-07-24 15:43:01.759 INFO 28076 — [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit ‘default’
2017-07-24 15:43:01.966 INFO 28076 — [ main] o.s.jdbc.datasource.init.ScriptUtils : Executing SQL script from URL [file:/D:/Users/atchita/Desktop/PROG/target/classes/data.sql]
2017-07-24 15:43:01.972 INFO 28076 — [ main] o.s.jdbc.datasource.init.ScriptUtils : Executed SQL script from URL [file:/D:/Users/atchita/Desktop/PROG/target/classes/data.sql] in 6 ms.
2017-07-24 15:43:02.651 INFO 28076 — [ main] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory
2017-07-24 15:43:03.561 WARN 28076 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization – cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘requestMappingHandlerAdapter’ defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method ‘requestMappingHandlerAdapter’ threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘mvcConversionService’ defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method ‘mvcConversionService’ threw exception; nested exception is java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
org/springframework/data/repository/support/Repositories.<init>(Lorg/springframework/beans/factory/ListableBeanFactory;)V @11: putfield
Reason:
Type ‘org/springframework/beans/factory/ListableBeanFactory’ (current frame, stack[1]) is not assignable to ‘java/util/Optional’
Current Frame:
bci: @11
flags: { }
locals: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
stack: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
Bytecode:
0x0000000: 2ab7 01c8 2a2b b600 312a 2bb5 001d 2bb8
0x0000010: 01cb b801 d1c1 0033 9900 142a 2bb8 01cb
0x0000020: b801 d4c0 0033 b600 37a7 003b 2bb8 01d7
0x0000030: b801 d1c1 0039 9900 2e2b b801 d7b8 01d4
0x0000040: c000 39b9 003d 0100 4d2c b801 cbb8 01d1
0x0000050: c100 3399 0011 2a2c b801 cbb8 01d4 c000
0x0000060: 33b6 0037 b1
Stackmap Table:
full_frame(@44,{Object[#2],Object[#45]},{})
same_frame(@100)
2017-07-24 15:43:03.565 INFO 28076 — [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit ‘default’
2017-07-24 15:43:03.566 INFO 28076 — [ main] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed drop of schema as part of SessionFactory shut-down’
2017-07-24 15:43:03.584 INFO 28076 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 – Shutdown initiated…
2017-07-24 15:43:03.590 INFO 28076 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 – Shutdown completed.
2017-07-24 15:43:03.596 INFO 28076 — [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2017-07-24 15:43:03.631 INFO 28076 — [ main] utoConfigurationReportLoggingInitializer :
Error starting ApplicationContext. To display the auto-configuration report re-run your application with ‘debug’ enabled.
2017-07-24 15:43:03.644 ERROR 28076 — [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘requestMappingHandlerAdapter’ defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method ‘requestMappingHandlerAdapter’ threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘mvcConversionService’ defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method ‘mvcConversionService’ threw exception; nested exception is java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
org/springframework/data/repository/support/Repositories.<init>(Lorg/springframework/beans/factory/ListableBeanFactory;)V @11: putfield
Reason:
Type ‘org/springframework/beans/factory/ListableBeanFactory’ (current frame, stack[1]) is not assignable to ‘java/util/Optional’
Current Frame:
bci: @11
flags: { }
locals: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
stack: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
Bytecode:
0x0000000: 2ab7 01c8 2a2b b600 312a 2bb5 001d 2bb8
0x0000010: 01cb b801 d1c1 0033 9900 142a 2bb8 01cb
0x0000020: b801 d4c0 0033 b600 37a7 003b 2bb8 01d7
0x0000030: b801 d1c1 0039 9900 2e2b b801 d7b8 01d4
0x0000040: c000 39b9 003d 0100 4d2c b801 cbb8 01d1
0x0000050: c100 3399 0011 2a2c b801 cbb8 01d4 c000
0x0000060: 33b6 0037 b1
Stackmap Table:
full_frame(@44,{Object[#2],Object[#45]},{})
same_frame(@100)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1262) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1110) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:305) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:233) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:303) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:747) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861) ~[spring-context-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:542) ~[spring-context-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.context.support.AbstractApplicationContext.jrLockAndRefresh(AbstractApplicationContext.java) ~[spring-context-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java) ~[spring-context-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:122) ~[spring-boot-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386) [spring-boot-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:327) [spring-boot-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1245) [spring-boot-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1233) [spring-boot-2.0.0.M2.jar:2.0.0.M2]
at com.proji.PROG.ProgApplication.main(ProgApplication.java:10) [classes/:na]
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method ‘requestMappingHandlerAdapter’ threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘mvcConversionService’ defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method ‘mvcConversionService’ threw exception; nested exception is java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
org/springframework/data/repository/support/Repositories.<init>(Lorg/springframework/beans/factory/ListableBeanFactory;)V @11: putfield
Reason:
Type ‘org/springframework/beans/factory/ListableBeanFactory’ (current frame, stack[1]) is not assignable to ‘java/util/Optional’
Current Frame:
bci: @11
flags: { }
locals: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
stack: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
Bytecode:
0x0000000: 2ab7 01c8 2a2b b600 312a 2bb5 001d 2bb8
0x0000010: 01cb b801 d1c1 0033 9900 142a 2bb8 01cb
0x0000020: b801 d4c0 0033 b600 37a7 003b 2bb8 01d7
0x0000030: b801 d1c1 0039 9900 2e2b b801 d7b8 01d4
0x0000040: c000 39b9 003d 0100 4d2c b801 cbb8 01d1
0x0000050: c100 3399 0011 2a2c b801 cbb8 01d4 c000
0x0000060: 33b6 0037 b1
Stackmap Table:
full_frame(@44,{Object[#2],Object[#45]},{})
same_frame(@100)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:182) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:575) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
… 20 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘mvcConversionService’ defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method ‘mvcConversionService’ threw exception; nested exception is java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
org/springframework/data/repository/support/Repositories.<init>(Lorg/springframework/beans/factory/ListableBeanFactory;)V @11: putfield
Reason:
Type ‘org/springframework/beans/factory/ListableBeanFactory’ (current frame, stack[1]) is not assignable to ‘java/util/Optional’
Current Frame:
bci: @11
flags: { }
locals: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
stack: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
Bytecode:
0x0000000: 2ab7 01c8 2a2b b600 312a 2bb5 001d 2bb8
0x0000010: 01cb b801 d1c1 0033 9900 142a 2bb8 01cb
0x0000020: b801 d4c0 0033 b600 37a7 003b 2bb8 01d7
0x0000030: b801 d1c1 0039 9900 2e2b b801 d7b8 01d4
0x0000040: c000 39b9 003d 0100 4d2c b801 cbb8 01d1
0x0000050: c100 3399 0011 2a2c b801 cbb8 01d4 c000
0x0000060: 33b6 0037 b1
Stackmap Table:
full_frame(@44,{Object[#2],Object[#45]},{})
same_frame(@100)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1262) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1110) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:305) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:233) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:303) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.obtainBeanInstanceFromFactory(ConfigurationClassEnhancer.java:390) ~[spring-context-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:362) ~[spring-context-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$2618ab85.mvcConversionService(<generated>) ~[spring-boot-autoconfigure-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.getConfigurableWebBindingInitializer(WebMvcConfigurationSupport.java:584) ~[spring-webmvc-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration.getConfigurableWebBindingInitializer(WebMvcAutoConfiguration.java:435) ~[spring-boot-autoconfigure-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.requestMappingHandlerAdapter(WebMvcConfigurationSupport.java:546) ~[spring-webmvc-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration.requestMappingHandlerAdapter(WebMvcAutoConfiguration.java:387) ~[spring-boot-autoconfigure-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$2618ab85.CGLIB$requestMappingHandlerAdapter$6(<generated>) ~[spring-boot-autoconfigure-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$2618ab85$$FastClassBySpringCGLIB$$dc3a27a7.invoke(<generated>) ~[spring-boot-autoconfigure-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:359) ~[spring-context-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$2618ab85.requestMappingHandlerAdapter(<generated>) ~[spring-boot-autoconfigure-2.0.0.M2.jar:2.0.0.M2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_141]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_141]
at sun.reflect.DelegatingMethodAccessorImpl.__invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_141]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java) ~[na:1.8.0_141]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java) ~[na:1.8.0_141]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_141]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:155) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
… 21 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method ‘mvcConversionService’ threw exception; nested exception is java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
org/springframework/data/repository/support/Repositories.<init>(Lorg/springframework/beans/factory/ListableBeanFactory;)V @11: putfield
Reason:
Type ‘org/springframework/beans/factory/ListableBeanFactory’ (current frame, stack[1]) is not assignable to ‘java/util/Optional’
Current Frame:
bci: @11
flags: { }
locals: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
stack: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
Bytecode:
0x0000000: 2ab7 01c8 2a2b b600 312a 2bb5 001d 2bb8
0x0000010: 01cb b801 d1c1 0033 9900 142a 2bb8 01cb
0x0000020: b801 d4c0 0033 b600 37a7 003b 2bb8 01d7
0x0000030: b801 d1c1 0039 9900 2e2b b801 d7b8 01d4
0x0000040: c000 39b9 003d 0100 4d2c b801 cbb8 01d1
0x0000050: c100 3399 0011 2a2c b801 cbb8 01d4 c000
0x0000060: 33b6 0037 b1
Stackmap Table:
full_frame(@44,{Object[#2],Object[#45]},{})
same_frame(@100)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:182) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:575) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
… 48 common frames omitted
Caused by: java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
org/springframework/data/repository/support/Repositories.<init>(Lorg/springframework/beans/factory/ListableBeanFactory;)V @11: putfield
Reason:
Type ‘org/springframework/beans/factory/ListableBeanFactory’ (current frame, stack[1]) is not assignable to ‘java/util/Optional’
Current Frame:
bci: @11
flags: { }
locals: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
stack: { ‘org/springframework/data/repository/support/Repositories’, ‘org/springframework/beans/factory/ListableBeanFactory’ }
Bytecode:
0x0000000: 2ab7 01c8 2a2b b600 312a 2bb5 001d 2bb8
0x0000010: 01cb b801 d1c1 0033 9900 142a 2bb8 01cb
0x0000020: b801 d4c0 0033 b600 37a7 003b 2bb8 01d7
0x0000030: b801 d1c1 0039 9900 2e2b b801 d7b8 01d4
0x0000040: c000 39b9 003d 0100 4d2c b801 cbb8 01d1
0x0000050: c100 3399 0011 2a2c b801 cbb8 01d4 c000
0x0000060: 33b6 0037 b1
Stackmap Table:
full_frame(@44,{Object[#2],Object[#45]},{})
same_frame(@100)
at org.springframework.data.repository.support.DomainClassConverter.<init>(DomainClassConverter.java:47) ~[spring-data-commons-2.0.0.M4.jar:na]
at org.springframework.data.web.config.SpringDataWebConfiguration.addFormatters(SpringDataWebConfiguration.java:115) ~[spring-data-commons-2.0.0.M4.jar:na]
at org.springframework.web.servlet.config.annotation.WebMvcConfigurerComposite.addFormatters(WebMvcConfigurerComposite.java:80) ~[spring-webmvc-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration.addFormatters(DelegatingWebMvcConfiguration.java:77) ~[spring-webmvc-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.mvcConversionService(WebMvcConfigurationSupport.java:616) ~[spring-webmvc-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$2618ab85.CGLIB$mvcConversionService$32(<generated>) ~[spring-boot-autoconfigure-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$2618ab85$$FastClassBySpringCGLIB$$dc3a27a7.invoke(<generated>) ~[spring-boot-autoconfigure-2.0.0.M2.jar:2.0.0.M2]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:359) ~[spring-context-5.0.0.RC2.jar:5.0.0.RC2]
at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$2618ab85.mvcConversionService(<generated>) ~[spring-boot-autoconfigure-2.0.0.M2.jar:2.0.0.M2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_141]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_141]
at sun.reflect.DelegatingMethodAccessorImpl.__invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_141]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java) ~[na:1.8.0_141]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java) ~[na:1.8.0_141]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_141]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:155) ~[spring-beans-5.0.0.RC2.jar:5.0.0.RC2]
… 49 common frames omitted