我有这段代码:
try {
System.out.println("????????????????????????????????");
request.login(username, password);
System.out.println("FFFFFFFFFFFFFFFF");
} catch (Exception e) {
System.out.println("!!!!!!!!!!!!!!!!!!" + e.getMessage());
e.printStackTrace();
}
其中 request 是 HttpServletRequest 输出是:
????????????????????????????????
12618 ERROR org.apache.wicket.DefaultExceptionMapper - Unexpected error occurred
我如何调试这段代码并解决问题出在哪里?