classNotFound Exception when using JDBC for MYSQL on Tomcat in eclipse

后端 未结 4 1743
旧巷少年郎
旧巷少年郎 2021-01-17 02:03

This seems to be a common problem, but I could not find a working solution. I\'ve looked through dozens of thread and have been working with my teacher. I am trying to conn

4条回答
  •  失恋的感觉
    2021-01-17 02:52

    modify 'common.loader' property in the 'catalina.properties' file in the tomcat 'conf' folder as shown below

    common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
    

    Also add 'mysql-connector-java-5.0.8-bin.jar' in the tomcat 'lib' folder

提交回复
热议问题