Hi all,
I have a problem that I'm hoping someone can help with. It's quite a basic question this: basically, I'm having problems using dependencies in Grails projects in the STS tool suite.
So I've added a dependency to the project, by adding this to BuildConfig.groovy:
This builds OK and I can see that the POI library has been downloaded into my ivy cache in .grails. However, the classes that are provided by this library aren't available. If I try to import them in a groovy file, I can an error saying "unable to resolve class" and the "Open Type" dialog does not find any of the classes either.Code:dependencies { compile 'org.apache.poi:poi:3.7', 'org.apache.poi:poi-ooxml:3.7' }
I have tried "grails clean" and "grails refresh-dependencies" to no avail. I can make this work by copying the libraries to my lib/ folder but I'm sure I shouldn't have to? I've had the same problem with another library as well. This is using Grails STS 2.6.0.
I'm sure I'm doing something obviously wrong here, any suggestions to how I ought to do this would be highly appreciated!
Regards,
Jan


Reply With Quote
