I got this exception:
java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver
I use jtds-1.2.2. I tried add jar or add external jar. I also do:
String driver = "net.sourceforge.jtds.jdbc.Driver";
try {
Class.forName(driver);
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
I did the same in java project and everything works good. But doing this in jsf project I get this exception. Why ?