nguyenn15 / ServiceManagement

Service management for small business
0 stars 0 forks source link

could not initialize class com.jSMWebService.DAO.UserDAO #4

Closed nguyenn15 closed 6 years ago

nguyenn15 commented 6 years ago

Problem when try to run test new structure of DAO and service package.

image

nguyenn15 commented 6 years ago

Fixed and update with adding lib to web INF folder. but got new error image

nguyenn15 commented 6 years ago
  1. The problem is the conn string is wrong with db name: myDB, it should be jsmwebservice. 2.Add the below line before create sql2o Class.forName("com.mysql.jdbc.Driver");

image