1.xxxMapper接口与xxxMapper.xml文件名不一致
找了半天,建议以后文件名不要起这么长,不然看不出来!!!
2.Uncaught ReferenceError: $ is not defined
jsp头部不对
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="utf-8" language="java" %>
<%@include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>用户首页</title>
<link type="text/css" rel="stylesheet" href="${ctx}/resource/user/css/style.css">
<script src="${ctx}/resource/user/js/jquery-1.8.3.min.js"></script>
<script src="${ctx}/resource/user/js/jquery.luara.0.0.1.min.js"></script>
</head>