简体   繁体   中英

spring web mvc application not running on Pivotal tc Server Developer Edition v3.2

when i run my spring web mvc application with tomcat 8 its running fine. but when i run same application with Pivotal tc Server Developer Edition v3.2 it show message in console Servlet Context Stoppped and show error on page as below: 在此处输入图片说明

I was using JNDI and connection was established using mysql-connector-java copied in lib folder of tomcat. I did not copy same file in new configuration. Now i added mysql-connector-java in pom.xml and it resolved the issue.

    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>5.1.9</version>
    </dependency> 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM