1.错误信息:Cause: com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. java.lang.nullpointException   解决办法:可能是由于iBatis的sql映射xml文件中别名映射类的路径不对或者是由于sqlmap-config.xml中的加载sql映射xml文件路径不对。2.错误信息:javax.servlet.ServletException: Cannot retrieve mapping for action /center/query/QueryInpatientBalanceAction at org .apache.jasper.runtime.PageContextImpl .doHandlePageException (PageContextImpl.java:825) 解决办法:检查struts-config.xml文件中的path属性值和JSP页面Action属性值是否对应!3.错误信息:In Tomcat,java.lang.IllegalStateException: Post too large解决办法:    Apache Tomcat by default sets a limit on the maximum size of HTTP POST requests it accepts.   In Tomcat 5, this limit is set to 2097152 (2 Mb). When you try to upload files or post forms that are   larger than 2 MB, this error can occur.   The solution is to reconfigure Tomcat to accept larger POST requests, either by increasing   the limit, or by disabling it. This can be done by editing Tomcat's server.xml.    In the <Connector> element, add an attribute "maxPostSize" and set a larger value (in bytes) to   increase the limit. Setting it to 0 will disable the size check.4.错误信息:提交form的时候脚本错误,object doesn't support this property or method解决办法:form中的button元素的name属性或者property属性不能是submit.5.java.sql.SQLException: Query was emptysql语句为空。在iBatis中报此错一般是XML映射文件中语句有了id为***的sql段,但里面的SQL语句为空,则报此错。6.启动Embedded Tomcat报如下错误:java.lang.NoClassDefFoundError: javax/management/MBeanRegistration版本不兼容,EmbedTomcat5.5不需使用1.5+的JDKjava.lang.NoClassDefFoundError: jboss/jmx.....由于在myeclipse中使用引入的J2EE1.4 Libraryies中包括了一些Jboss的jar包引起的冲突问题,将jboss的jar删除便可。