How to add lib to grails project


I'm using the latest JetGroovy plugin in IDEA 7.0.1 to create a Grails Plugin Project. I did this by creating a normal Grails project then added the extra couple of files manually to make a plugin project.

The problem I'm having is I want to reference an external JAR (jfreechart) in one of my Service classes. I droppped the required JARs into the Grails project 'lib' folder but the compiler doesn't seem to pick them up so I can "unable to resolve class" errors for the jfree references in my Service class.

How do I tell IDEA to look in the lib folder for my JARS?



1 comment
Comment actions Permalink

You add library dependencies in Project Settings->Add library for respective grails module



Please sign in to leave a comment.