内嵌的Jetty启动后访问503
2016-07-28 22:49
204 查看
内嵌的Jetty启动后访问503,没有报错,查看启动日志,发现在初始化Spring容器的前一步停住不动了。如果这时候还用了Mybatis,那很可能是Mybatis配置文件错误了:
我在找了大半天之后,发现是引用了一个无效的命名空间。
<!--author:wlj --> <!--date:2016-05-19 --> <!--desc:查询用户(商家,普通用户)信息列表,根据账号,昵称模糊查询 --> <select id="listUserPage" resultType="Dto" parameterType="Dto"> SELECT <include refid="cn.usmaker.common.dao.mapper.Shop_userMapper.column2" />, (select nickname_ from shop_user as p_user where p_user.id_ = shop_user.fk_introducer_id_) as introducer_name_ from shop_user <where> <if test="hotkey !=null and hotkey !=''"> and ( shop_user.account_ like '%${hotkey}%' or shop_user.nickname_ like '%${hotkey}%' ) </if> <if test="true"> and shop_user.type_=#{type_}<!--用户类型:1:普通用户;2:商家用户 --> </if> </where>
我在找了大半天之后,发现是引用了一个无效的命名空间。
相关文章推荐
- PXE 引导 ESXi 安装
- VMware Workstation虚拟机装GHOST Win7详细高清图文教程(转载)
- eclipse常用设置
- 《新媒体营销圣经:引诱,引诱,引诱,出击!》:美国主要新媒体上的营销策略与实例点评,离中国有点远。2星
- 可以展开的TextView
- 仿京东金融选择金钱刻度尺效果
- leetcode刷题,总结,记录,备忘 350
- G1垃圾收集器入门
- 小猫统计:对于分组查询结果,直接生成约60种excel图表
- JavaScript之原型链(一)
- android Intent的相关Flag说明
- 【转载】Struts2系统架构
- 腾讯游戏面经
- HDU 5775 Bubble Sort (线段树)
- Hadoop HDFS 用户指南
- 数据库
- Glide的简单使用
- BZOJ1015: [JSOI2008]星球大战starwar 并查集 离线处理
- 1050. 螺旋矩阵(25)
- 354. Russian Doll Envelopes 超时。。。还是把代码贴出来吧