我在h2数据库中使用了jhipster-4.5.1,我在更改代码后运行服务器时出现错误,但代码中没有错误,但代码中没有错误,但是代码中运行服务器时出现错误modifies.it说Jhipster运行服务器时出错
2017-06-14 17:43:03.578 WARN 19964 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'bloodPressureResource' defined in file [/home/rajeev/Devapp_Maven/target/classes/com/devapp/web/rest/BloodPressureResource.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bloodPressureRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Validation failed for query for method public abstract java.util.List com.devapp.repository.BloodPressureRepository.findAllByTimestampBetweenOrderByTimestampDesc(java.time.LocalDate,java.time.LocalDate)!
2017-06-14 17:43:03.916 DEBUG 19964 --- [ restartedMain] c.e.c.Ehcache-com.devapp.domain.Points : Close successful.
2017-06-14 17:43:03.919 DEBUG 19964 --- [ restartedMain] c.e.c.Ehcache-com.devapp.domain.Weight : Close successful.
2017-06-14 17:43:03.921 DEBUG 19964 --- [ restartedMain] c.e.c.E.devapp.domain.BloodPressure : Close successful.
2017-06-14 17:43:03.923 DEBUG 19964 --- [ restartedMain] c.e.c.E.devapp.domain.Preferences : Close successful.
2017-06-14 17:43:03.925 DEBUG 19964 --- [ restartedMain] c.e.c.E.devapp.domain.Authority : Close successful.
2017-06-14 17:43:03.930 DEBUG 19964 --- [ restartedMain] c.e.core.Ehcache-com.devapp.domain.User : Close successful.
2017-06-14 17:43:03.932 DEBUG 19964 --- [ restartedMain] c.e.c.E.devapp.domain.User.authorities : Close successful.
2017-06-14 17:43:03.994 WARN 19964 --- [ restartedMain] o.s.boot.SpringApplication : Error handling failed (Error creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.config.internalCacheAdvisor' defined in class path resource [org/springframework/cache/annotation/ProxyCachingConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cache.interceptor.BeanFactoryCacheOperationSourceAdvisor]: Factory method 'cacheAdvisor' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheAutoConfigurationValidator' defined in class path resource [org/springframework/boot/autoconfigure/cache/CacheAutoConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.cache-org.springframework.boot.autoconfigure.cache.CacheProperties': Initialization of bean failed; nested exception is java.lang.IllegalStateException: org.springframework.boot[email protected]60ee6558 has not been refreshed yet)
2017-06-14 17:43:04.016 ERROR 19964 --- [ restartedMain] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'bloodPressureResource' defined in file [/home/rajeev/Devapp_Maven/target/classes/com/devapp/web/rest/BloodPressureResource.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bloodPressureRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Validation failed for query for method public abstract java.util.List com.devapp.repository.BloodPressureRepository.findAllByTimestampBetweenOrderByTimestampDesc(java.time.LocalDate,java.time.LocalDate)!
由于提前
请格式化代码,提取错误,并尽量精确地描述你的问题。 – flob