HI,
Iam doingfollowing steps
-
Adding following dependency in main pom.xml
mysql
mysql-connector-java
8.0.20
-
updating conf/context.xml & conf/context-mysql.xml with respective values (hardcoded)
-
Now doing docker build to create the new docker Images and to generate new war files.
docker.build
- Now Deploying those docker images in kuberneter cluster. and when I login and check container logs Tomcat catalina logs throing error
“Caused by: java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver”
Do I need to add mysql dependency in any other pom.xml?