java.lang.ClassNotFoundException: DefaultQuartzConfig

Are you running grails and suddenly encountered this error? Well, I did. To fix this error, the first thing I did was I googled it but Dr. Google seems to have no answer for this query. Some people from known forums say that they manually pasted some groovy file to a folder. Some advised to reinstall grails. By doing all those suggestions, still they didn’t work for me. So here is something that worked for me. It might work for you too.

After all the trials and errors in solving this problem, I end up formulating my own solution. How? It’s simple. Let’s start to understand the problem.

What caused the error?


This folder above might be missing. This folder contains “conf/DefaultQuartzConfig.groovy” which the compiler is looking for.


I deleted this folder (“C:\Users\username\.grails\grails_version\projects\project_name\”) and tried to run my application. By running the application, it generated the same folder that I deleted and restored the missing folder which caused the error.

Is this post helpful? If it does, please help me to publish quality articles like this. Send some TIPS to keep this website alive by clicking the paypal button or sending Bitcoins to BTC address below:
Click the QR Code or text above to copy the BTC Address.

OR better if you could support this website by buying my book (This is available both on paperback and e-book version)! A true Green Stickman avid reader would definitely have this one. Limited copies only for the paperback! So make sure to grab your copy.