How to configure grails classpath in order to add "src/groovy" folder ( in Linux environment)? -
I am currently porting Windows to my development environment for Linux.
Under Linux, I have noticed that the "Class not found" compilation error is related to my classes directory & lt; PROJECT_HOME & gt; / Src / groovy
Under the windows, it works fine.
Is this included in the "src / groovy" directory CLASSPATH
when "grails run-app" is running? Why does it behave differently under Windows and under Linux? ( GRAILS_HOME
and GROOVY_HOME
are defined in both environments)
Is there a way to display the current CLASSPATH in the log?
And most importantly, how do I solve my problem? (Global CLASSPATH = & lt; PROJECT_HOME & gt; / src / groovy
setting)
Thank you for your help,
Regards,
Fabien
Yes, src / groovy and src / java are automatically used in classpath while using the graves Order I recommend to make sure that your package statement is correct and this error is referencing your code.
Comments
Post a Comment