Then the Internet a lot are not solve,
To do a test, need not controlle mapper directly on the unit test, data query returns a
Then I made a output statements in the controller, found no output, is has not entered the controller
Please bosses to help me take a look at what the problem,
directory structure:
spring configuration
for springmvc configuration
web. XML
test
controller:
CodePudding user response:
Junit to mistake is pageInfo null pointer