今天在做一个ssh示例时,经debug跟踪调用dao层,关于hibernate层的映射出现问题,经跟踪是java.lang.reflect.InvocationTargetException.getTargetException()异常,第一次需要加入antlr-3.3-complete.jar包,同时对异常部分加入try{}catch{}
可以将异常输出,方便查找错误
转载于:https://blog.51cto.com/llwbrothers/881520
今天在做一个ssh示例时,经debug跟踪调用dao层,关于hibernate层的映射出现问题,经跟踪是java.lang.reflect.InvocationTargetException.getTargetException()异常,第一次需要加入antlr-3.3-complete.jar包,同时对异常部分加入try{}catch{}
可以将异常输出,方便查找错误
转载于:https://blog.51cto.com/llwbrothers/881520