项目Exception总结

1. mybatis加入分页插件

    <plugins>
        <plugin interceptor="com.github.pagehelper.PageHelper">
            <!-- 支持Oracle,MySQL,SQLite,MariaDB,Hsqldb,PostgreSQL -->
            <property name="dialect" value="mysql"/>
        </plugin>
    </plugins>

必须加在<environments 上面 

2. ajax-struts2验证用户名是否存在 

 

 jsonobj为Null  原因为:架包冲突。删除重复的包

猜你喜欢

转载自blog.csdn.net/liujucai/article/details/84643590