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