jclagache / spring-data-mybatis

Simplifies the development of creating a MyBatis-based data access layer. http://www.springsource.org/spring-data
122 stars 32 forks source link

not work #2

Closed boyley closed 8 years ago

boyley commented 9 years ago

Hello, I followed the way you use, does not run correctly, I copied out all your test classes in another project the following operation is the problem, what is this problem, error code is as follows: "D:\Program Files (x86)\Java\jdk1.8.0_60\bin\java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:61352,suspend=y,server=n -ea -Dfile.encoding=UTF-8 -classpath "D:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.4\lib\idea_rt.jar;D:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.4\plugins\junit\lib\junit-rt.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\charsets.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\deploy.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\javaws.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\jce.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\jfr.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\jfxswt.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\jsse.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\management-agent.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\plugin.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\resources.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\rt.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\access-bridge-64.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\cldrdata.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\dnsns.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\jaccess.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\jfxrt.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\localedata.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\nashorn.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\sunec.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\sunjce_provider.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\sunmscapi.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\sunpkcs11.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\jre\lib\ext\zipfs.jar;E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes;E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\classes;D:\maven\repo\ch\qos\logback\logback-classic\1.1.3\logback-classic-1.1.3.jar;D:\maven\repo\ch\qos\logback\logback-core\1.1.3\logback-core-1.1.3.jar;D:\maven\repo\org\slf4j\slf4j-api\1.7.12\slf4j-api-1.7.12.jar;D:\maven\repo\com\h2database\h2\1.4.188\h2-1.4.188.jar;E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes;D:\maven\repo\org\apache\velocity\velocity\1.7\velocity-1.7.jar;D:\maven\repo\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;D:\maven\repo\commons-lang\commons-lang\2.4\commons-lang-2.4.jar;D:\maven\repo\org\eclipse\persistence\javax.persistence\2.1.0\javax.persistence-2.1.0.jar;D:\maven\repo\org\springframework\data\spring-data-commons\1.9.3.RELEASE\spring-data-commons-1.9.3.RELEASE.jar;D:\maven\repo\org\springframework\spring-beans\4.1.7.RELEASE\spring-beans-4.1.7.RELEASE.jar;D:\maven\repo\org\slf4j\jcl-over-slf4j\1.7.12\jcl-over-slf4j-1.7.12.jar;D:\maven\repo\org\springframework\boot\spring-boot-starter-jdbc\1.2.5.RELEASE\spring-boot-starter-jdbc-1.2.5.RELEASE.jar;D:\maven\repo\org\springframework\spring-jdbc\4.1.7.RELEASE\spring-jdbc-4.1.7.RELEASE.jar;D:\maven\repo\org\apache\tomcat\tomcat-jdbc\8.0.23\tomcat-jdbc-8.0.23.jar;D:\maven\repo\org\apache\tomcat\tomcat-juli\8.0.23\tomcat-juli-8.0.23.jar;D:\maven\repo\org\springframework\spring-tx\4.1.7.RELEASE\spring-tx-4.1.7.RELEASE.jar;D:\maven\repo\org\mybatis\mybatis\3.3.0\mybatis-3.3.0.jar;D:\maven\repo\org\mybatis\mybatis-spring\1.2.3\mybatis-spring-1.2.3.jar;D:\maven\repo\mysql\mysql-connector-java\5.1.35\mysql-connector-java-5.1.35.jar;D:\maven\repo\com\alibaba\druid\1.0.15\druid-1.0.15.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\lib\jconsole.jar;D:\Program Files (x86)\Java\jdk1.8.0_60\lib\tools.jar;D:\maven\repo\org\projectlombok\lombok\1.16.6\lombok-1.16.6.jar;D:\maven\repo\org\springframework\boot\spring-boot-starter-web\1.2.5.RELEASE\spring-boot-starter-web-1.2.5.RELEASE.jar;D:\maven\repo\org\springframework\boot\spring-boot-starter\1.2.5.RELEASE\spring-boot-starter-1.2.5.RELEASE.jar;D:\maven\repo\org\springframework\boot\spring-boot\1.2.5.RELEASE\spring-boot-1.2.5.RELEASE.jar;D:\maven\repo\org\springframework\boot\spring-boot-autoconfigure\1.2.5.RELEASE\spring-boot-autoconfigure-1.2.5.RELEASE.jar;D:\maven\repo\org\springframework\boot\spring-boot-starter-logging\1.2.5.RELEASE\spring-boot-starter-logging-1.2.5.RELEASE.jar;D:\maven\repo\org\slf4j\jul-to-slf4j\1.7.12\jul-to-slf4j-1.7.12.jar;D:\maven\repo\org\slf4j\log4j-over-slf4j\1.7.12\log4j-over-slf4j-1.7.12.jar;D:\maven\repo\org\yaml\snakeyaml\1.14\snakeyaml-1.14.jar;D:\maven\repo\com\fasterxml\jackson\core\jackson-databind\2.4.6\jackson-databind-2.4.6.jar;D:\maven\repo\com\fasterxml\jackson\core\jackson-annotations\2.4.6\jackson-annotations-2.4.6.jar;D:\maven\repo\com\fasterxml\jackson\core\jackson-core\2.4.6\jackson-core-2.4.6.jar;D:\maven\repo\org\hibernate\hibernate-validator\5.1.3.Final\hibernate-validator-5.1.3.Final.jar;D:\maven\repo\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;D:\maven\repo\org\jboss\logging\jboss-logging\3.1.3.GA\jboss-logging-3.1.3.GA.jar;D:\maven\repo\com\fasterxml\classmate\1.0.0\classmate-1.0.0.jar;D:\maven\repo\org\springframework\spring-core\4.1.7.RELEASE\spring-core-4.1.7.RELEASE.jar;D:\maven\repo\org\springframework\spring-web\4.1.7.RELEASE\spring-web-4.1.7.RELEASE.jar;D:\maven\repo\org\springframework\spring-aop\4.1.7.RELEASE\spring-aop-4.1.7.RELEASE.jar;D:\maven\repo\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;D:\maven\repo\org\springframework\spring-context\4.1.7.RELEASE\spring-context-4.1.7.RELEASE.jar;D:\maven\repo\org\springframework\spring-webmvc\4.1.7.RELEASE\spring-webmvc-4.1.7.RELEASE.jar;D:\maven\repo\org\springframework\spring-expression\4.1.7.RELEASE\spring-expression-4.1.7.RELEASE.jar;D:\maven\repo\org\springframework\boot\spring-boot-starter-test\1.2.5.RELEASE\spring-boot-starter-test-1.2.5.RELEASE.jar;D:\maven\repo\junit\junit\4.12\junit-4.12.jar;D:\maven\repo\org\mockito\mockito-core\1.10.19\mockito-core-1.10.19.jar;D:\maven\repo\org\objenesis\objenesis\2.1\objenesis-2.1.jar;D:\maven\repo\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;D:\maven\repo\org\hamcrest\hamcrest-library\1.3\hamcrest-library-1.3.jar;D:\maven\repo\org\springframework\spring-test\4.1.7.RELEASE\spring-test-4.1.7.RELEASE.jar" com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest,testSave Connected to the target VM, address: '127.0.0.1:61352', transport: 'socket' 12:22:42.208 [main] DEBUG o.s.t.c.j.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest]. 12:22:42.263 [main] DEBUG o.s.test.context.BootstrapUtils - Instantiating TestContextBootstrapper from class [org.springframework.test.context.support.DefaultTestContextBootstrapper] 12:22:42.410 [main] DEBUG o.s.t.c.s.AbstractDelegatingSmartContextLoader - Delegating to AnnotationConfigContextLoader to process context configuration [ContextConfigurationAttributes@6580cfdd declaringClass = 'org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest', classes = '{class org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration}', locations = '{}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader']. 12:22:42.418 [main] DEBUG o.s.t.c.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest] 12:22:42.458 [main] DEBUG o.s.t.c.s.DefaultTestContextBootstrapper - @TestExecutionListeners is not present for class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest]: using defaults. 12:22:42.534 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] 12:22:42.568 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [javax/servlet/ServletContext] 12:22:42.580 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@37afeb11, org.springframework.test.context.support.DirtiesContextTestExecutionListener@515aebb0, org.springframework.test.context.transaction.TransactionalTestExecutionListener@dd8ba08, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@245b4bdc] 12:22:42.598 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest] 12:22:42.600 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest] 12:22:42.648 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest] 12:22:42.649 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest] 12:22:42.653 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest] 12:22:42.657 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest] 12:22:42.660 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest] 12:22:42.662 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest] 12:22:42.704 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest] 12:22:42.707 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest] 12:22:42.717 [main] DEBUG o.s.t.c.s.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@1aafa419 testClass = MybatisRepositoryTest, testInstance = org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest@47eaca72, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@55141def testClass = MybatisRepositoryTest, locations = '{}', classes = '{class org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]]. 12:22:42.724 [main] DEBUG o.s.t.c.s.AbstractDelegatingSmartContextLoader - Delegating to AnnotationConfigContextLoader to load context from [MergedContextConfiguration@55141def testClass = MybatisRepositoryTest, locations = '{}', classes = '{class org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]. 12:22:42.728 [main] DEBUG o.s.t.c.s.AbstractGenericContextLoader - Loading ApplicationContext for merged context configuration [[MergedContextConfiguration@55141def testClass = MybatisRepositoryTest, locations = '{}', classes = '{class org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]. 12:22:43.101 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence 12:22:43.104 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence 12:22:43.106 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment] 12:22:43.107 [main] DEBUG o.s.t.c.s.AnnotationConfigContextLoader - Registering annotated classes: {class org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration} 12:22:43.300 [main] INFO o.s.c.s.GenericApplicationContext - Refreshing org.springframework.context.support.GenericApplicationContext@4c402120: startup date [Mon Oct 05 12:22:43 CST 2015]; root of context hierarchy 12:22:43.302 [main] DEBUG o.s.c.s.GenericApplicationContext - Bean factory for org.springframework.context.support.GenericApplicationContext@4c402120: org.springframework.beans.factory.support.DefaultListableBeanFactory@5e600dd5: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,sqlSessionConfiguration]; root of factory hierarchy 12:22:43.355 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' 12:22:43.357 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' 12:22:43.409 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' to allow for resolving potential circular references 12:22:43.414 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' 12:22:43.547 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration.sqlSessionFactoryBean() 12:22:43.549 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration.transactionManager() 12:22:43.551 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration.sqlSessionTemplate() 12:22:43.554 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration.dataSource() 12:22:43.574 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence 12:22:43.575 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence 12:22:43.576 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment] 12:22:43.591 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data] 12:22:43.592 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data//repository/support//.class] 12:22:43.599 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data//repository/support//.class] 12:22:43.601 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data//repository/support//.class] 12:22:43.604 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data//repository/support//.class] 12:22:43.620 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\config] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data//repository/support//.class] 12:22:43.627 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\domains] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data//repository/support//.class] 12:22:43.643 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\mappers] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data//repository/support//.class] 12:22:43.647 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data//repository/support//.class] 12:22:43.662 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data] 12:22:43.663 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/modules/mybatis-autoconfigure/target/classes/org/springframework/data//repository/support//.class] 12:22:43.665 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/modules/mybatis-autoconfigure/target/classes/org/springframework/data//repository/support//.class] 12:22:43.668 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\annotations] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/modules/mybatis-autoconfigure/target/classes/org/springframework/data//repository/support//.class] 12:22:43.671 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\domains] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/modules/mybatis-autoconfigure/target/classes/org/springframework/data//repository/support//.class] 12:22:43.673 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\handlers] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/modules/mybatis-autoconfigure/target/classes/org/springframework/data//repository/support//.class] 12:22:43.676 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/modules/mybatis-autoconfigure/target/classes/org/springframework/data//repository/support//.class] 12:22:43.678 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\config] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/modules/mybatis-autoconfigure/target/classes/org/springframework/data//repository/support//.class] 12:22:43.682 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\mapping] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/modules/mybatis-autoconfigure/target/classes/org/springframework/data//repository/support//.class] 12:22:43.685 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\query] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/modules/mybatis-autoconfigure/target/classes/org/springframework/data//repository/support//.class] 12:22:43.689 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\support] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/modules/mybatis-autoconfigure/target/classes/org/springframework/data//repository/support//.class] 12:22:43.692 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\support] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/modules/mybatis-autoconfigure/target/classes/org/springframework/data//repository/support//.class] 12:22:43.705 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in jar file [file:/D:/maven/repo/org/springframework/data/spring-data-commons/1.9.3.RELEASE/spring-data-commons-1.9.3.RELEASE.jar] 12:22:43.761 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath:org/springframework/data//repository/support//_.class] to resources [file [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\support\MybatisEntityInformation.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\support\MybatisPersistableEntityInformation.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\support\MybatisRepository.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\support\MybatisRepositoryFactory.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\support\MybatisRepositoryFactoryBean.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\support\SimpleMybatisRepository.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\support\SqlSessionRepositorySupport.class], URL [jar:file:/D:/maven/repo/org/springframework/data/spring-data-commons/1.9.3.RELEASE/spring-data-commons-1.9.3.RELEASE.jar!/org/springframework/data/repository/support/Repositories$EmptyRepositoryFactoryInformation.class], URL [jar:file:/D:/maven/repo/org/springframework/data/spring-data-commons/1.9.3.RELEASE/spring-data-commons-1.9.3.RELEASE.jar!/org/springframework/data/repository/support/DomainClassPropertyEditorRegistrar.class], URL [jar:file:/D:/maven/repo/org/springframework/data/spring-data-commons/1.9.3.RELEASE/spring-data-commons-1.9.3.RELEASE.jar!/org/springframework/data/repository/support/CrudRepositoryInvoker.class], URL [jar:file:/D:/maven/repo/org/springframework/data/spring-data-commons/1.9.3.RELEASE/spring-data-commons-1.9.3.RELEASE.jar!/org/springframework/data/repository/support/Repositories.class], URL [jar:file:/D:/maven/repo/org/springframework/data/spring-data-commons/1.9.3.RELEASE/spring-data-commons-1.9.3.RELEASE.jar!/org/springframework/data/repository/support/ReflectionRepositoryInvoker.class], URL [jar:file:/D:/maven/repo/org/springframework/data/spring-data-commons/1.9.3.RELEASE/spring-data-commons-1.9.3.RELEASE.jar!/org/springframework/data/repository/support/DomainClassPropertyEditor.class], URL [jar:file:/D:/maven/repo/org/springframework/data/spring-data-commons/1.9.3.RELEASE/spring-data-commons-1.9.3.RELEASE.jar!/org/springframework/data/repository/support/DomainClassConverter.class]] 12:22:43.831 [main] DEBUG o.s.c.a.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [E:\Program Files (x86)\Project\IdeaProjects\bogle\modules\mybatis-autoconfigure\target\classes\org\springframework\data\mybatis\repository\support\MybatisRepositoryFactory.class] 12:22:43.888 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence 12:22:43.889 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence 12:22:43.890 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment] 12:22:43.895 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories] 12:22:43.895 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data/mybatis/repository/test/repositories//.class] 12:22:43.899 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath:org/springframework/data/mybatis/repository/test/repositories//_.class] to resources [file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\DeskRepository.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\EraserRepository.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\EraserRepositoryCustom.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\EraserRepositoryImpl.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\MybatisRepositoryTest$1.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\MybatisRepositoryTest$2.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\MybatisRepositoryTest$3.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\MybatisRepositoryTest.class], file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\PencilRepository.class]] 12:22:43.912 [main] DEBUG o.s.d.r.c.RepositoryComponentProvider - Identified candidate component class: file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\DeskRepository.class] 12:22:43.914 [main] DEBUG o.s.d.r.c.RepositoryComponentProvider - Identified candidate component class: file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\EraserRepository.class] 12:22:43.927 [main] DEBUG o.s.d.r.c.RepositoryComponentProvider - Identified candidate component class: file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\PencilRepository.class] 12:22:43.941 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence 12:22:43.942 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence 12:22:43.942 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment] 12:22:43.946 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories] 12:22:43.947 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data/mybatis/repository/test/repositories//EraserRepositoryImpl.class] 12:22:43.952 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath:org/springframework/data/mybatis/repository/test/repositories//_EraserRepositoryImpl.class] to resources [file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\EraserRepositoryImpl.class]] 12:22:43.955 [main] DEBUG o.s.c.a.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories\EraserRepositoryImpl.class] 12:22:43.957 [main] DEBUG o.s.d.r.c.RepositoryBeanDefinitionBuilder - Registering custom repository implementation: eraserRepositoryImpl org.springframework.data.mybatis.repository.test.repositories.EraserRepositoryImpl 12:22:43.966 [main] DEBUG o.s.d.r.c.RepositoryConfigurationDelegate - Spring Data Mybatis - Registering repository: eraserRepository - Interface: org.springframework.data.mybatis.repository.test.repositories.EraserRepository - Factory: org.springframework.data.mybatis.repository.support.MybatisRepositoryFactoryBean 12:22:43.978 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence 12:22:43.988 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence 12:22:43.989 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment] 12:22:44.022 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories] 12:22:44.024 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data/mybatis/repository/test/repositories//PencilRepositoryImpl.class] 12:22:44.028 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath:org/springframework/data/mybatis/repository/test/repositories//_PencilRepositoryImpl.class] to resources [] 12:22:44.040 [main] DEBUG o.s.d.r.c.RepositoryConfigurationDelegate - Spring Data Mybatis - Registering repository: pencilRepository - Interface: org.springframework.data.mybatis.repository.test.repositories.PencilRepository - Factory: org.springframework.data.mybatis.repository.support.MybatisRepositoryFactoryBean 12:22:44.073 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence 12:22:44.074 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence 12:22:44.076 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment] 12:22:44.077 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories] 12:22:44.078 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\repositories] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data/mybatis/repository/test/repositories//DeskRepositoryImpl.class] 12:22:44.094 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath:org/springframework/data/mybatis/repository/test/repositories//_DeskRepositoryImpl.class] to resources [] 12:22:44.095 [main] DEBUG o.s.d.r.c.RepositoryConfigurationDelegate - Spring Data Mybatis - Registering repository: deskRepository - Interface: org.springframework.data.mybatis.repository.test.repositories.DeskRepository - Factory: org.springframework.data.mybatis.repository.support.MybatisRepositoryFactoryBean 12:22:44.366 [main] DEBUG o.s.c.a.ConfigurationClassEnhancer - Successfully enhanced org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration; enhanced class name is: org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration$$EnhancerBySpringCGLIB$$d9d5c39d 12:22:44.372 [main] DEBUG o.s.c.a.ConfigurationClassPostProcessor - Replacing bean definition 'sqlSessionConfiguration' existing class name 'org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration' with enhanced class name 'org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration$$EnhancerBySpringCGLIB$$d9d5c39d' 12:22:44.441 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' 12:22:44.456 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' 12:22:44.458 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' to allow for resolving potential circular references 12:22:44.459 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' 12:22:44.481 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' 12:22:44.482 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' 12:22:44.487 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' to allow for resolving potential circular references 12:22:44.489 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' 12:22:44.490 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' 12:22:44.491 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' 12:22:44.502 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' to allow for resolving potential circular references 12:22:44.503 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' 12:22:44.504 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' 12:22:44.505 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' 12:22:44.506 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' to allow for resolving potential circular references 12:22:44.507 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' 12:22:44.509 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor' 12:22:44.510 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor' 12:22:44.511 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor' to allow for resolving potential circular references 12:22:44.512 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor' 12:22:44.513 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor' 12:22:44.515 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor' 12:22:44.516 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor' to allow for resolving potential circular references 12:22:44.518 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor' 12:22:44.526 [main] DEBUG o.s.c.s.GenericApplicationContext - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@7164ca4c] 12:22:44.531 [main] DEBUG o.s.c.s.GenericApplicationContext - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@172b013] 12:22:44.545 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5e600dd5: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,sqlSessionConfiguration,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,sqlSessionFactoryBean,transactionManager,sqlSessionTemplate,dataSource,org.springframework.data.mybatis.repository.config.MybatisRepositoryConfigExtension#0,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor,eraserRepositoryImpl,eraserRepository,pencilRepository,deskRepository]; root of factory hierarchy 12:22:44.549 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' 12:22:44.551 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' 12:22:44.552 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' 12:22:44.553 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' 12:22:44.555 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'sqlSessionConfiguration' 12:22:44.557 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'sqlSessionConfiguration' 12:22:44.564 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'sqlSessionConfiguration' to allow for resolving potential circular references 12:22:44.612 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'sqlSessionConfiguration' 12:22:44.613 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' 12:22:44.614 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor' 12:22:44.615 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'sqlSessionFactoryBean' 12:22:44.615 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'sqlSessionFactoryBean' 12:22:44.621 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'sqlSessionConfiguration' 12:22:44.674 [main] DEBUG org.apache.ibatis.logging.LogFactory - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter. 12:22:44.681 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'dataSource' 12:22:44.682 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'dataSource' 12:22:44.682 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'sqlSessionConfiguration' 12:22:44.760 [main] INFO o.s.j.d.e.EmbeddedDatabaseFactory - Creating embedded database 'testdb' 12:22:44.993 [main] DEBUG o.s.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource 12:22:44.994 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false] 12:22:45.238 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [init.sql] 12:22:45.258 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE PENCIL ( ID NUMBER(11) NOT NULL, NAME VARCHAR2(64) NULL, PRIMARY KEY (ID) ) 12:22:45.260 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE SEQUENCE SEQ_PENCIL START WITH 100000 12:22:45.264 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE ERASER ( ID NUMBER(11) NOT NULL, TYPE VARCHAR2(64) NULL, NAME VARCHAR2(64) NULL, PRIMARY KEY (ID) ) 12:22:45.265 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE SEQUENCE SEQ_ERASER START WITH 100000 12:22:45.268 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE MY_DESK ( ID NUMBER(11) NOT NULL, NAME VARCHAR2(64) NULL, PRIMARY KEY (ID) ) 12:22:45.269 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE SEQUENCE SEQ_MY_DESK START WITH 100000 12:22:45.275 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 1 returned as updateCount for SQL: INSERT INTO PENCIL (ID, NAME) VALUES (1, 'XX') 12:22:45.277 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 1 returned as updateCount for SQL: INSERT INTO ERASER (ID, NAME, TYPE) VALUES (1, '绘图橡皮', 'A') 12:22:45.278 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 1 returned as updateCount for SQL: INSERT INTO ERASER (ID, NAME, TYPE) VALUES (2, '考试橡皮', 'C') 12:22:45.278 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 1 returned as updateCount for SQL: INSERT INTO ERASER (ID, NAME, TYPE) VALUES (3, '美术用', 'B') 12:22:45.280 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 1 returned as updateCount for SQL: INSERT INTO MY_DESK (ID, NAME) VALUES (1, '1') 12:22:45.280 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 1 returned as updateCount for SQL: INSERT INTO MY_DESK (ID, NAME) VALUES (2, '2') 12:22:45.281 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 1 returned as updateCount for SQL: INSERT INTO MY_DESK (ID, NAME) VALUES (3, '3') 12:22:45.282 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [init.sql] in 43 ms. 12:22:45.282 [main] DEBUG o.s.jdbc.datasource.DataSourceUtils - Returning JDBC Connection to DataSource 12:22:45.284 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'dataSource' to allow for resolving potential circular references 12:22:45.290 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'dataSource' 12:22:45.292 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\mappers] 12:22:45.294 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\mappers] for files matching pattern [E:/Program Files (x86)/Project/IdeaProjects/bogle/standard/erp-front/target/test-classes/org/springframework/data/mybatis/repository/test/mappers/Mapper.xml] 12:22:45.296 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath:org/springframework/data/mybatis/repository/test/mappers/_Mapper.xml] to resources [file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\mappers\EraserMapper.xml]] 12:22:45.302 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'sqlSessionFactoryBean' to allow for resolving potential circular references 12:22:45.320 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Invoking afterPropertiesSet() on bean with name 'sqlSessionFactoryBean' 12:22:45.327 [main] DEBUG o.m.spring.SqlSessionFactoryBean - Property 'configLocation' not specified, using default MyBatis Configuration 12:22:45.420 [main] DEBUG o.m.spring.SqlSessionFactoryBean - Registered type alias: 'class org.mybatis.scripting.velocity.Driver' 12:22:45.424 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false] 12:22:45.727 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Log4JLogChute initialized using file 'velocity.log' 12:22:45.728 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Initializing Velocity, Calling init()... 12:22:45.729 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Starting Apache Velocity v1.7 (compiled: 2010-11-19 12:14:37) 12:22:45.730 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties 12:22:45.730 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Trying to use logger class org.apache.velocity.runtime.log.AvalonLogChute 12:22:45.731 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Target log system for org.apache.velocity.runtime.log.AvalonLogChute is not available (java.lang.NoClassDefFoundError: org/apache/log/format/Formatter). Falling back to next log system... 12:22:45.732 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Trying to use logger class org.apache.velocity.runtime.log.Log4JLogChute 12:22:45.733 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Using logger class org.apache.velocity.runtime.log.Log4JLogChute 12:22:45.743 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - ResourceLoader instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader 12:22:45.773 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - ResourceCache: initialized (class org.apache.velocity.runtime.resource.ResourceCacheImpl) with class java.util.Collections$SynchronizedMap cache map. 12:22:45.777 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded System Directive: org.apache.velocity.runtime.directive.Stop 12:22:45.781 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded System Directive: org.apache.velocity.runtime.directive.Define 12:22:45.783 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded System Directive: org.apache.velocity.runtime.directive.Break 12:22:45.785 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded System Directive: org.apache.velocity.runtime.directive.Evaluate 12:22:45.787 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded System Directive: org.apache.velocity.runtime.directive.Literal 12:22:45.790 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded System Directive: org.apache.velocity.runtime.directive.Macro 12:22:45.794 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded System Directive: org.apache.velocity.runtime.directive.Parse 12:22:45.797 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded System Directive: org.apache.velocity.runtime.directive.Include 12:22:45.799 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach 12:22:45.801 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded User Directive: org.mybatis.scripting.velocity.TrimDirective 12:22:45.802 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded User Directive: org.mybatis.scripting.velocity.WhereDirective 12:22:45.803 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded User Directive: org.mybatis.scripting.velocity.SetDirective 12:22:45.804 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded User Directive: org.mybatis.scripting.velocity.InDirective 12:22:45.805 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded User Directive: org.mybatis.scripting.velocity.RepeatDirective 12:22:45.806 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded User Directive: org.mybatis.scripting.velocity.IfNotBlankDirective 12:22:45.808 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded User Directive: org.mybatis.scripting.velocity.IfNotNullDirective 12:22:45.810 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Loaded User Directive: org.mybatis.scripting.velocity.OrderByDirective 12:22:45.857 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Created '20' parsers. 12:22:45.867 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Velocimacro : "velocimacro.library" is not set. Trying default library: VM_global_library.vm 12:22:45.869 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Could not load resource 'VM_global_library.vm' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader: ClasspathResourceLoader Error: cannot find resource VM_global_library.vm 12:22:45.870 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Velocimacro : Default library not found. 12:22:45.871 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Velocimacro : allowInline = true : VMs can be defined inline in templates 12:22:45.871 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions 12:22:45.872 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. 12:22:45.873 [main] DEBUG o.a.v.runtime.log.Log4JLogChute - Velocimacro : autoload off : VM system will not automatically reload global library macros 12:22:45.917 [main] DEBUG o.m.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [E:\Program Files (x86)\Project\IdeaProjects\bogle\standard\erp-front\target\test-classes\org\springframework\data\mybatis\repository\test\mappers\EraserMapper.xml]' 12:22:45.981 [main] DEBUG o.m.spring.SqlSessionFactoryBean - Parsed mapper file: 'class path resource [org/springframework/data/mybatis/PublicMapper.xml]' 12:22:45.985 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'sqlSessionFactoryBean' 12:22:45.988 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'transactionManager' 12:22:45.989 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'transactionManager' 12:22:45.990 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'sqlSessionConfiguration' 12:22:46.004 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'dataSource' 12:22:46.015 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'transactionManager' to allow for resolving potential circular references 12:22:46.026 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Invoking afterPropertiesSet() on bean with name 'transactionManager' 12:22:46.027 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'transactionManager' 12:22:46.028 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'sqlSessionTemplate' 12:22:46.030 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'sqlSessionTemplate' 12:22:46.031 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'sqlSessionConfiguration' 12:22:46.035 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'sqlSessionFactoryBean' 12:22:46.069 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'sqlSessionFactoryBean' 12:22:46.087 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'sqlSessionTemplate' to allow for resolving potential circular references 12:22:46.096 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'sqlSessionTemplate' 12:22:46.097 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'dataSource' 12:22:46.098 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor' 12:22:46.099 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'eraserRepositoryImpl' 12:22:46.100 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'eraserRepositoryImpl' 12:22:46.114 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'sqlSessionTemplate' 12:22:46.115 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Autowiring by type from bean name 'eraserRepositoryImpl' via constructor to bean named 'sqlSessionTemplate' 12:22:46.118 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'eraserRepositoryImpl' to allow for resolving potential circular references 12:22:46.129 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'eraserRepositoryImpl' 12:22:46.130 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'eraserRepositoryImpl' 12:22:46.130 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'eraserRepository' 12:22:46.131 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'eraserRepository' 12:22:46.169 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [org.springframework.data.mybatis.repository.support.MybatisRepositoryFactoryBean]: AutowiredMethodElement for public void org.springframework.data.mybatis.repository.support.MybatisRepositoryFactoryBean.setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate) 12:22:46.170 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'eraserRepository' to allow for resolving potential circular references 12:22:46.172 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'eraserRepository': AutowiredMethodElement for public void org.springframework.data.mybatis.repository.support.MybatisRepositoryFactoryBean.setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate) 12:22:46.174 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'sqlSessionTemplate' 12:22:46.174 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'eraserRepository' to bean named 'sqlSessionTemplate' 12:22:46.213 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean '(inner bean)#127d7908' 12:22:46.215 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean '(inner bean)#6622a690' 12:22:46.246 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Invoking afterPropertiesSet() on bean with name '(inner bean)#6622a690' 12:22:46.249 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean '(inner bean)#6622a690' 12:22:46.267 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean '(inner bean)#127d7908' 12:22:46.268 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'eraserRepositoryImpl' 12:22:46.269 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean '(inner bean)#deb3b60' 12:22:46.284 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean '(inner bean)#deb3b60' 12:22:46.285 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Invoking afterPropertiesSet() on bean with name 'eraserRepository' 12:22:46.335 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Retrieved dependent beans for bean '(inner bean)#127d7908': [eraserRepository] 12:22:46.337 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Retrieved dependent beans for bean '(inner bean)#6622a690': [(inner bean)#127d7908] 12:22:46.347 [main] WARN o.s.c.s.GenericApplicationContext - Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eraserRepository': Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepository(Lorg/springframework/data/repository/core/RepositoryMetadata;)Ljava/lang/Object; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:736) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:109) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:261) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:259) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.12.jar:4.12] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:261) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:219) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12] at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [junit-4.12.jar:4.12] at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78) [junit-rt.jar:na] at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212) [junit-rt.jar:na] at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68) [junit-rt.jar:na] Caused by: java.lang.AbstractMethodError: org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepository(Lorg/springframework/data/repository/core/RepositoryMetadata;)Ljava/lang/Object; at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:173) ~[spring-data-commons-1.9.3.RELEASE.jar:na] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.initAndReturn(RepositoryFactoryBeanSupport.java:239) ~[spring-data-commons-1.9.3.RELEASE.jar:na] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:225) ~[spring-data-commons-1.9.3.RELEASE.jar:na] at org.springframework.data.mybatis.repository.support.MybatisRepositoryFactoryBean.afterPropertiesSet(MybatisRepositoryFactoryBean.java:27) ~[classes/:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1633) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] ... 38 common frames omitted 12:22:46.384 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5e600dd5: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,sqlSessionConfiguration,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,sqlSessionFactoryBean,transactionManager,sqlSessionTemplate,dataSource,org.springframework.data.mybatis.repository.config.MybatisRepositoryConfigExtension#0,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor,eraserRepositoryImpl,eraserRepository,pencilRepository,deskRepository]; root of factory hierarchy 12:22:46.389 [main] DEBUG o.s.b.f.s.DisposableBeanAdapter - Invoking destroy method 'close' on bean with name 'sqlSessionTemplate' 12:22:46.395 [main] WARN o.s.b.f.s.DisposableBeanAdapter - Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate' java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession at org.mybatis.spring.SqlSessionTemplate.close(SqlSessionTemplate.java:333) ~[mybatis-spring-1.2.3.jar:1.2.3] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60] at org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:350) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:273) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:900) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:907) [spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:908) [spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:490) [spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:109) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:261) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:259) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.12.jar:4.12] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:261) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:219) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12] at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [junit-4.12.jar:4.12] at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78) [junit-rt.jar:na] at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212) [junit-rt.jar:na] at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68) [junit-rt.jar:na] 12:22:46.441 [main] DEBUG o.s.b.f.s.DisposableBeanAdapter - Invoking destroy method 'shutdown' on bean with name 'dataSource' 12:22:46.442 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false] 12:22:46.450 [main] ERROR o.s.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@37afeb11] to prepare test instance [org.springframework.data.mybatis.repository.test.repositories.MybatisRepositoryTest@47eaca72] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:94) ~[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72) ~[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) ~[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) ~[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212) ~[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] Disconnected from the target VM, address: '127.0.0.1:61352', transport: 'socket'

java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:94) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:259) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:261) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:219) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eraserRepository': Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepository(Lorg/springframework/data/repository/core/RepositoryMetadata;)Ljava/lang/Object; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:736) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:109) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:261) at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68) at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86) ... 23 more Caused by: java.lang.AbstractMethodError: org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepository(Lorg/springframework/data/repository/core/RepositoryMetadata;)Ljava/lang/Object; at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:173) at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.initAndReturn(RepositoryFactoryBeanSupport.java:239) at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:225) at org.springframework.data.mybatis.repository.support.MybatisRepositoryFactoryBean.afterPropertiesSet(MybatisRepositoryFactoryBean.java:27) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1633) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570) ... 38 more

at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:259) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.12.jar:4.12]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:261) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:219) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]
at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]
at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [junit-4.12.jar:4.12]
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78) [junit-rt.jar:na]
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212) [junit-rt.jar:na]
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68) [junit-rt.jar:na]

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eraserRepository': Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepository(Lorg/springframework/data/repository/core/RepositoryMetadata;)Ljava/lang/Object; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:736) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125) ~[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) ~[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:109) ~[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:261) ~[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68) ~[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86) ~[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] ... 23 common frames omitted Caused by: java.lang.AbstractMethodError: org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepository(Lorg/springframework/data/repository/core/RepositoryMetadata;)Ljava/lang/Object; at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:173) ~[spring-data-commons-1.9.3.RELEASE.jar:na] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.initAndReturn(RepositoryFactoryBeanSupport.java:239) ~[spring-data-commons-1.9.3.RELEASE.jar:na] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:225) ~[spring-data-commons-1.9.3.RELEASE.jar:na] at org.springframework.data.mybatis.repository.support.MybatisRepositoryFactoryBean.afterPropertiesSet(MybatisRepositoryFactoryBean.java:27) ~[classes/:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1633) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570) ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] ... 38 common frames omitted 12:22:46.613 [main] DEBUG o.s.t.c.s.DirtiesContextTestExecutionListener - After test class: context [DefaultTestContext@1aafa419 testClass = MybatisRepositoryTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@55141def testClass = MybatisRepositoryTest, locations = '{}', classes = '{class org.springframework.data.mybatis.repository.test.config.SqlSessionConfiguration}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]], dirtiesContext [false].

Process finished with exit code -1

boyley commented 9 years ago

no work

jclagache commented 8 years ago

hello @boyley, first of all, sorry for taking so long to respond. Well, this is a huge stack trace ... you can make it clearer wrapping it using markdown code formatting. Is there any reason you choose to use the 4.1.7.RELEASE version of spring and the 1.9.3.RELEASE of spring-data ?

boyley commented 8 years ago

Thank you, I found out the problem, caused by the incompatible version