grails / gorm-redis

GORM for Redis
Apache License 2.0
14 stars 2 forks source link

grails v3.3.2 does not apply to the current version (redis-gorm) #2

Open thor19810101 opened 6 years ago

thor19810101 commented 6 years ago

gradle3.5 dependencies { compile 'org.grails.plugins:redis-gorm:6.0.4' }

domain class Person { String firstName String lastName static constraints = { firstName blank:false lastName blank:false } static mapWith = "redis" static mapping = { lastName index:true }

problem:

FAILURE: Build failed with an exception.

deepakgpt commented 6 years ago

Hi Team I am facing the same issue when starting grails 3.3.2 with plugins compile 'org.grails.plugins:redis-gorm:5.0.13'. Can you please help me on this?

My domain class is

class Tenant implements Serializable {

String orgId //this is the webaddress
String tagLine
String name
String defaultClassName
String logoUrl
String companyUrl
Long accountOwner

static mapWith = "redis"

static mapping = {
    id index:true
}

static constraints = {
}

}

I am also sending my whole plugins list

compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
compile "org.grails:grails-core"
compile "org.springframework.boot:spring-boot-starter-actuator"
compile "org.springframework.boot:spring-boot-starter-tomcat"
compile "org.grails:grails-web-boot"
compile "org.grails:grails-logging"
compile "org.grails:grails-plugin-rest"
compile "org.grails:grails-plugin-databinding"
compile "org.grails:grails-plugin-i18n"
compile "org.grails:grails-plugin-services"
compile "org.grails:grails-plugin-url-mappings"
compile "org.grails:grails-plugin-interceptors"
compile "org.grails.plugins:cache"
compile "org.grails.plugins:async"
compile "org.grails.plugins:scaffolding"
compile "org.grails.plugins:events"
compile "org.grails.plugins:hibernate5"
compile "org.hibernate:hibernate-core:5.1.5.Final"
compile "org.grails.plugins:gsp"
compile 'org.grails.plugins:redis-gorm:5.0.13'
console "org.grails:grails-console"
profile "org.grails.profiles:web"
runtime "org.glassfish.web:el-impl:2.1.2-b03"
runtime "mysql:mysql-connector-java"
compile 'org.grails.plugins:redis-gorm:5.0.13'
runtime "org.apache.tomcat:tomcat-jdbc"
runtime "com.bertramlabs.plugins:asset-pipeline-grails:2.14.6"
testCompile "org.grails:grails-gorm-testing-support"
testCompile "org.grails:grails-web-testing-support"
testCompile "org.grails.plugins:geb"
testRuntime "org.seleniumhq.selenium:selenium-chrome-driver:3.6.0"
testRuntime "org.seleniumhq.selenium:selenium-firefox-driver:3.6.0"
testRuntime "org.seleniumhq.selenium:selenium-remote-driver:3.6.0"
testRuntime "org.seleniumhq.selenium:selenium-api:3.6.0"
ayZagen commented 5 years ago

I was using v5.0.13 and this issue occured on it. After updating to v6 it is resolved. I believe this issue could be closed.