您的位置:首页 > 其它

内嵌的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>


我在找了大半天之后,发现是引用了一个无效的命名空间。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: