I'm new to Grails/Groovy and doing a feasibility analysis for our application migration from java. When I test with grails application with mysql database, even after all the necessary configurations done it says mysql-connector-jar is missing and not able find.
1) I've configured in BuildGroovy.Groovy as run time dependency and with DataSource.groovy.
2) Placed correct mysql connector jar under grails application's /lib/ directory and added in class path also.
Tried with changing of different versions of jar's but no luck.
No pain, No gain.
OCJP 1.6, Liferay Certified Developer 6.1
Super. I did changes of including jar's of mysql connector version 1.5.18 as I mentioned in the BuildGroovy.Groovy and 1.5.6 since one of the other plugin jul-to-slf4j needs it. I started the server by the time I posted previous things. Now it works fine. Thanks.
But the strange thing is why it is referring the other lower version even I've configured latest. It should take it from the class path of grails application. I'm using groovy 1.8.6, Grails 2.0.3 in SpringSource Tool Suite 2.9.1.