I created a class under 'src' dir. I'm using this code to access the 'images' directory for all files inside 'grails-app':
ApplicationHolder.application.parentContext.getResource("file/misc").file;
I'm having this error when I access it in a 'src' class:
application has private access in org.codehaus.groovy.grails.commons.ApplicationHolder
Any comment on why is this happening? How can I access "file/misc" when app is deployed to tomcat?