Have you setup the project library in your IDE? You need to add MySql connector jar file in project property window -> library category. Just a thought.
-nicetomeetyou(_);
2009-3-21(#5131087@0)
thanks a lot. IDE的库里面还有好几个分类,compile, run, compile test, run test, 把mysql connector jar file加到compile里面就好了。不过还是不大明白,compile的时候要连接这个库么?怎么没报错呢
-haihai(享受阳光);
2009-3-21(#5131237@0)
you need to add .jar into library pool if you want to build a .war in dist and ship them with production.
-nicetomeetyou(_);
2009-3-21(#5131346@0)