异常信息

Servlet.service() for servlet [com.yyy.servlet.CheckUnameServlet] in context with path [/web3] threw exception [Servlet execution threw an exception] with root cause
java.lang.NoClassDefFoundError: com/test/util/DbHelper

java.lang.ClassNotFoundException: com.test.util.DbHelper

java.lang.NoClassDefFoundError: com/test/util/DbHelper

解决办法

写了一个jdbc工具类,使用的时候报异常。

重新创建了一下引入的properties文件,解决了。

java.lang.ClassNotFoundException: com.test.util.DbHelper_前端