You're missing the jar that provides the HibernatePluginSupport class.

You'll need to take this to the Grails list as it's a symptom of the 
configuration of Grails' dependencies.

On 19/07/2011, at 12:34 AM, Andres Olave wrote:

> I am having a very strange problem running the grails plugin and could do
> with some help. I've previously created my grails project and am running it
> in eclipse, but would like to move our entire build process to gradle.:
> 
> org.codehaus.groovy.grails.exceptions.NewInstanceCreationException: Could
> not create a new instance of class [HibernateGrailsPlugin]
> 
> due to:
> 
> groovy.lang.MissingPropertyException: No such property:
> HibernatePluginSupport for class: HibernateGrailsPlugin
> 
> my build.gradle is looking like the following:
> 
> 
> 
> buildscript {
>    repositories {
>        mavenCentral()
>        mavenRepo urls: 'http://snapshots.repository.codehaus.org'
>        mavenRepo urls: "http://download.java.net/maven/2";
>        mavenLocal()
>    }
> 
>    dependencies {
>        classpath "org.grails:grails-gradle-plugin:1.0",
>                  "org.grails:grails-bootstrap:1.3.7"
>    }
> }
> 
> apply plugin: "grails"
> apply plugin: 'maven'
> 
> sourceCompatibility = 1.6
> version = '1.0'
> 
> repositories {
>    mavenCentral()
>    mavenLocal()
> }
> 
> configurations {
>    compile.exclude module: "commons-logging"
> }
> 
> 
> dependencies{
>    compile "org.grails:grails-crud:1.3.7",
>            "org.grails:grails-gorm:1.3.7",
>            "org.hibernate:hibernate-tools:3.2.4.GA",
>            "org.springframework.security:spring-security-web:3.0.5.RELEASE"
>    compile files('../libraries/Tomcat7/')
>    runtime "org.slf4j:slf4j-log4j12:1.5.8"
>    compile [MY LOCAL MAVEN DEPENDENCIES]
> }
> 
> ../libraries/Tomcat7/ contains some property files that are referenced in
> Config.groovy.
> 
> Thanks in advance
> 
> Andres Olave
> System Architect
> Future Route & CreditPal
> 
> e   [email protected]
> m +44 (0) 794 758 7455
> t   +44 (0) 207 960 9647
> f   +44 (0) 844 375 9072
> a   Enterprise House, 1-2 Hatfields, London, SE1 9PG, UK
> 
> UK IT Industry Awards Winners 2010
> 
> 
> The information in this email is confidential and is intended solely for the
> use of the addressee only. The recipient shall not divulge the information
> or attachments of this email in whole or in part to any third party.
> No recipient may disclose or utilise the information contained in this email
> or any attachments to it for any other reason than as agreed between the
> parties and confirmed in writing by Future Route.
> The information contained herein is subject to change at any time without
> notice and Future Route does not guarantee its completeness or accuracy. Any
> reliance a recipient places on such information is therefore strictly at his
> own risk. In no event will Future Route be liable for any loss or damage
> including without limitation indirect or consequential loss or damage, or
> any loss or damage whatsoever arising out of or in connection with any use
> of the information or content contained in this email.
> Future Route owns all rights and intellectual property in the Validis
> software and associated technology and information and no rights or licence
> to use this intellectual property or information shall be conveyed or
> granted except with the express written permission of Future Route. The
> recipient is prohibited from copying or using any part of this email or any
> attachments except as specifically authorised by Future Route.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 

-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to