I wrote today in a case when the login, enter the information Jump failure, error 500: java.lang.ClassNotFoundException: org.springframework.jdbc.core.RowMapper
Jdbc say this class can not find, but I imported jar package ah. . Use test test class is no problem.
Finally found the problem, I put the lib under the WEB-INF directory name became libs. . .
This leads though I could use in this jar test class package, but tomcat does not load the jar package lib directory.
Problem Cause: lib under the WEB-INF directory name became libs, tomcat only know lib
Solution: change lib