Java 带有Spring Boot和PostgreSql的GORM
是否有人将GORM与Spring Boot和PostgreSql一起使用过。如果是,请分享相关信息。 我正在尝试以下依赖项,但遇到错误Java 带有Spring Boot和PostgreSql的GORM,java,postgresql,spring-boot,gorm,Java,Postgresql,Spring Boot,Gorm,是否有人将GORM与Spring Boot和PostgreSql一起使用过。如果是,请分享相关信息。 我正在尝试以下依赖项,但遇到错误 dependencies { compile('org.springframework.boot:spring-boot-starter-web') compile('org.codehaus.groovy:groovy') runtime('org.postgresql:postgresql') testCompile('org
dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.codehaus.groovy:groovy')
runtime('org.postgresql:postgresql')
testCompile('org.springframework.boot:spring-boot-starter-test')
// <1>
compile("org.grails:gorm-hibernate5-spring-boot:6.1.6.RELEASE")
compile "org.hibernate:hibernate-core:5.1.0.Final"
compile "org.hibernate:hibernate-ehcache:5.1.0.Final"
// <2>
runtime "org.apache.tomcat:tomcat-jdbc:8.5.0"
runtime "org.apache.tomcat.embed:tomcat-embed-logging-log4j:8.5.0"
runtime "org.slf4j:slf4j-api:1.7.10"
runtime "org.glassfish.web:el-impl:2.1.2-b03"
依赖项{
编译('org.springframework.boot:springbootstarterweb')
编译('org.codehaus.groovy:groovy')
运行时('org.postgresql:postgresql')
testCompile('org.springframework.boot:springbootstartertest')
//
编译(“org.grails:gorm-hibernate5-spring-boot:6.1.6.RELEASE”)
编译“org.hibernate:hibernate核心:5.1.0.Final”
编译“org.hibernate:hibernate ehcache:5.1.0.Final”
//
运行时“org.apache.tomcat:tomcatjdbc:8.5.0”
运行时“org.apache.tomcat.embed:tomcat-embed-logging-log4j:8.5.0”
运行时“org.slf4j:slf4j api:1.7.10”
运行时“org.glassfish.web:el impl:2.1.2-b03”
}
如果需要更多信息,请告诉我