今天学Struts, tomcat报出了异常信息 Exception starting filter [struts2] Unable to load configuration.还有 No result type specified for result named 'success', 找了很久终于在stackoverflow上找到了报错原因,在struts.xml的配置文件中需要加上 namespace="/"; 这样就不会报错了 <package name="p…
使用mybatis时出现异常问题: 有如下的错误 Error querying database. Cause: org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'user.insertUser!selectKey'. It's likely that neither a Result Type nor a Re…