Hi,
I have implemented com.mysql.jdbc. ConnectionPrope rtiesTransform class.
In the jdbc connection url, I have added
propertiesTrans form=com.mysql. jdbc.Connection PropertiesTrans formImpl
attribute.
I made jar of this implementation class file and i have placed this jar file inside webapps/ (application)/WEB-INF/lib. mysql-connector-java-5.0.4-bin.jar file is present inside \tomcat\common\ lib.
I am getting following exception.
Unable to create the properties transform instance 'com.mysql.jdbc .ConnectionProp ertiesTransform Impl' due to underlying exception java.lang.Class NotFoundExcepti on: com.mysql.jdbc. ConnectionPrope rtiesTransformI mpl
If I place mysql-connector-java-5.0.4-bin.jar inside webapps/ (application)/WEB-INF/lib, its working fine.
Any idea? Is it classpath/class loader issue?
Thanks in advance
I have implemented com.mysql.jdbc. ConnectionPrope rtiesTransform class.
In the jdbc connection url, I have added
propertiesTrans form=com.mysql. jdbc.Connection PropertiesTrans formImpl
attribute.
I made jar of this implementation class file and i have placed this jar file inside webapps/ (application)/WEB-INF/lib. mysql-connector-java-5.0.4-bin.jar file is present inside \tomcat\common\ lib.
I am getting following exception.
Unable to create the properties transform instance 'com.mysql.jdbc .ConnectionProp ertiesTransform Impl' due to underlying exception java.lang.Class NotFoundExcepti on: com.mysql.jdbc. ConnectionPrope rtiesTransformI mpl
If I place mysql-connector-java-5.0.4-bin.jar inside webapps/ (application)/WEB-INF/lib, its working fine.
Any idea? Is it classpath/class loader issue?
Thanks in advance
Comment