Eclipse-mysql-tomcat Bug Tour

Source: Internet
Author: User

three times to meditate on Google Dafa good ...[Connection database servlet call hint could not find loadable driver, normal. java files no problem]

I'm not satisfied. Obviously you can connect with me. Why a few more intermediate interface is not good to make ... [Servlet is not a normal middle interface ...] Crazy to see the code is not a bug, and then eggs. That's right. Finally realized that the code is not a problem, the connnector thrown into the JDK, not the results. "I didn't expect to be thrown into tomcat." After another struggle, finally ...

http://thewaychung.iteye.com/blog/1097411

Because the servlet runs on Tomcat, you need to specify the path to the JDBC package for Tomcat in two ways: first, copy the JDBC package to the Lib directory of Tomcat; Specify the path to the JDBC package in Tomcat's Server.xml file so that Tomcat can find the class file Com.mysql.jdbc.Driver when running the servlet, otherwise it will prompt " ClassNotFoundException "error.

[Solved]could not publish server configuration for Tomcat v7.0 server at localhost. Multiple Context has a path of

A few days ago, eclipse convulsions, no matter how to modify the code, the results are modified before, tried the N method, last night was determined to reload eclipse, and then egg ...!!! Life is not a love.

Then, modify Tomcat's server.xml, modify Eclipse's. Metadata, and finally convert the problem to the above question. 233333. Then, continue the Google Loop, modify the Server.xml content tag in Eclipse, aye. Successfully solved all the problems. The sun is really good today.

http://www.nataraz.in/ could-not-publish-server-configuration-for-tomcat-v7-0-server-at-localhost-multiple-context-have-a-path-of/

Open the Server.xml in Eclipse and find the extra content tag to get rid of it.

Why such a simple question, will card so long ... I almost thought that I could not live anymore ... [because I have tried for a long time ...] To find the positive solution. ]

Eclipse-mysql-tomcat Bug Tour

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.