javascript:void(0) 这种就是对应的Restful风格,需要注意的是必须要有个隐藏域,name = _method,,然后value= 操作
    比较坑的一个地方:target中没有东西的文件夹会导致报错,这是添加一个空文件。image.png
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by org.apache.ibatis.reflection.Reflector (file:/E:/Maven/maven_repository/org/mybatis/mybatis/3.4.6/mybatis-3.4.6.jar) to method java.lang.Class.checkPackageAccess(java.lang.SecurityManager,java.lang.ClassLoader,boolean)
    WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.Reflector
    WARNING: Use —illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release

    解决方式:要么是降低jdk版本到1.8,要么升高mybatis版本到3.5.x左右,比如我这里改为3.5.3,就可以正常运行了
    image.png
    image.png

    发现Mybatis一个bug:

    1. <select id="updateLoginTime" parameterType="map">
    2. UPDATE EXPRESSADMIN SET LOGINTIME=#{date},LOGINIP=#{ip} WHERE USERNAME=#{username}
    3. </select>

    对于这个语句,虽然语句是update,但是我用了select的标签,结果发现,即使不提交事务,也会修改数据库
    但是改为update标签就没问题了,就必须得提交事务才行
    这个bug包括insert

    我这里添加了 log4j但是没反应呢

    在XMl中 <的特殊编译:<![CDATA[ <= ]]>

    快递这边前端代码需要改:
    findAreaCount 对应的Html,原来是map,现在是List
    更新登录时间这里,现在不用把date转化为TimeStamp了,框架会自己转