Quantcast

grails/ui-performance plugin - dependencies problems

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

grails/ui-performance plugin - dependencies problems

Anand Narasimhan
Hi,

I am using grails 1.3.7. When ui-performance plugin is enabled, grails war command fails with compilation error.
  [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
  [groovyc] Compile error during compilation with javac.
  [groovyc] /Users/anarasimhan/Development/Tutorials/bookstore/src/java/Helper.java:7: cannot find symbol
  [groovyc] symbol  : method create()
  [groovyc] location: class com.google.common.collect.HashMultimap
  [groovyc]         return HashMultimap.create();
  [groovyc]                            ^

The above exception is from a sample project that I have. The BuildConfig.groovy has the following dependencies:

dependencies {

        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.


        // runtime 'mysql:mysql-connector-java:5.1.13'

        compile 'com.google.guava:guava:11.0.1'

    }


guava-11.0.1.jar is downloaded into the ~/.ivy2/cache directory. Why is groovyc not finding the method HashMultimap.create()?


I see similar compilation errors with some other dependencies as well. When ui-performance plugin is not installed/enabled, I don't see the error.


Thanks

Anand



Anand Narasimhan

Loading...