mscharhag / Grails-method-security-example

Apache License 2.0
5 stars 2 forks source link

Compilation failed #1

Open athlan opened 11 years ago

athlan commented 11 years ago

Howdy.

Unfortunately, I cannot compile the project:

| Configuring classpath
| Error Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- org.grails.plugins:tomcat:2.3.0

 (Use --stacktrace to see the full trace)
| Error Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- org.grails.plugins:hibernate:2.3.0

 (Use --stacktrace to see the full trace)
| Error Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- org.grails.plugins:hibernate:2.3.0

 (Use --stacktrace to see the full trace)
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- org.grails.plugins:tomcat:2.3.0
mscharhag commented 11 years ago

Hi athlan,

you are using Grails 2.3.x aren't you?

Grails 2.2.4 worked fine for me. I just tested it with Grails 2.3.2 and got the same error messages like you. These errors can be resolved by updating the versions of the hibernate and tomcat plugins in BuildConfig.groovy:

runtime ":hibernate:$grailsVersion" --> runtime ":hibernate:3.6.10.3" build ":tomcat:$grailsVersion" --> build ":tomcat:7.0.42"

However, after this I am getting H2 datasource errors I wasn't able to resolve so far. I will look into this in the next days.