小编npr*_*npr的帖子

实体映射中序列增量大小设置为[50],而关联数据库序列增量大小为1

我正在尝试在我的第一个 sprinboot 应用程序中配置 postgreSQL 数据库的属性。但是当我运行这个应用程序时,我收到以下错误:

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Unsatisfied dependency expressed through method 'requestMappingHandlerAdapter' parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'employeeRepository' defined in com.jrp.pma.dao.EmployeeRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: …
Run Code Online (Sandbox Code Playgroud)

java postgresql spring hibernate spring-boot

5
推荐指数
2
解决办法
5201
查看次数

标签 统计

hibernate ×1

java ×1

postgresql ×1

spring ×1

spring-boot ×1