Debug 3M error message when Web site project: ClassNotFoundExceptioncom.mysql.jdbc.Driver
650) this.width=650; "Width=" "height=" 867 "title=" 1234.jpg "style=" WIDTH:546PX;HEIGHT:406PX; "src="/HTTP/ S5.51cto.com/wyfs02/m00/7c/dd/wkiol1bzghbji9y5aacv33s2gmc432.jpg "alt=" Wkiol1bzghbji9y5aacv33s2gmc432.jpg "/>
cause Analysis: Missing in Project Mysql-connector-java-5.1.22-bin.jar Package
Workaround:
① Right-click project name ->new->folder , create a new folder Lib , right-click Lib folder ->import Import Mysql-connector-java-5.1.22-bin.jar
② selected Jar Package Right-click --->buildpath--->add to Build Path as shown in the following:
650) this.width=650; "title=" 2345.jpg "src=" http://s4.51cto.com/wyfs02/M02/7C/DD/ Wkiol1bzgljhzouzaafm9fbaz1m295.jpg "alt=" Wkiol1bzgljhzouzaafm9fbaz1m295.jpg "/>
test Result: Enter the address in the browser: http://localhost:8080/3M/ , showing normal
650) this.width=650; "Width=" 827 "height=" 278 "title=" 3456.jpg "style=" width:596px;height:245px; "src="/HTTP/ S3.51cto.com/wyfs02/m02/7c/de/wkiom1bzgeyg4pm_aadj1txfxms544.jpg "alt=" Wkiom1bzgeyg4pm_aadj1txfxms544.jpg "/>
This article from "Dosom" blog, declined reprint!
ClassNotFoundExceptioncom.mysql.jdbc.Driver