Grails 2.0.0 lib directory fix

I recently had a problem with Grails when I started a new project in Eclipse with Grails 2.0.0. I tried adding an external JAR file to my “lib” directory by dragging the JAR file over to the directory.

In Grails 1.3.7, the JAR file would then get added to the list of grails dependences (after refreshing the dependencies). However, that stopped working. After reading some user group posts, here’s what I did to fix it.

1) run “grails clean”
2) drag the jar file to your “lib” directory.
3) right-click on the project and choose Groovy Tools -> Refresh Dependencies

3 thoughts on “Grails 2.0.0 lib directory fix

Leave a Reply to Mike ARgyriouCancel reply