问答详情
源自:-

进入详情页,控制台输出这些,json相关的代码部分都没有输出,不知道是啥原因

DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@e50d4] was not registered for synchronization because synchronization is not active
DEBUG o.m.s.t.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@1a6032d] will not be managed by Spring
 DEBUG com.anec.dao.SeckillDao.queryById - ==>  Preparing: SELECT seckill_id,name,number,start_time,end_time,create_time FROM seckill WHERE seckill_id = ?
 DEBUG com.anec.dao.SeckillDao.queryById - ==> Parameters: 1000(Long)
DEBUG com.anec.dao.SeckillDao.queryById - <==      Total: 1
DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@e50d4]

提问者:adai123 2016-08-29 10:24

个回答

  • 全村最靓的崽
    2016-09-22 09:38:05

    把项目名称加上面  或者在引入的时候 /seckill/resource/script/seckill.js

  • adai123
    2016-08-30 16:08:12

    "NetworkError: 404 Not Found - http://localhost:8080/resources/script/seckill.js
    怎么回事啊,静态资源加载不了