lc铭
2017-08-08 10:55
http://localhost:8080/seckill/list
The requested resource is not available.
10:48:26.653 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.logging.LogFactory - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
10:48:26.759 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VFS
10:48:26.759 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - JBoss 6 VFS API is not available in this environment.
10:48:26.761 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VirtualFile
10:48:26.762 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.
10:48:26.763 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - Using VFS adapter org.apache.ibatis.io.DefaultVFS
10:48:26.764 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - Find JAR URL: file:/C:/eclipse工作环境/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/seckill/WEB-INF/classes/org/seckill/entity/
10:48:26.764 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - Not a JAR: file:/C:/eclipse工作环境/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/seckill/WEB-INF/classes/org/seckill/entity/
10:48:26.805 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Seckill.class
10:48:26.806 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: SuccessKilled.class
10:48:26.808 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - Listing file:/C:/eclipse工作环境/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/seckill/WEB-INF/classes/org/seckill/entity/
10:48:26.808 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - Find JAR URL: file:/C:/eclipse工作环境/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/seckill/WEB-INF/classes/org/seckill/entity/Seckill.class
10:48:26.808 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - Not a JAR: file:/C:/eclipse工作环境/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/seckill/WEB-INF/classes/org/seckill/entity/Seckill.class
10:48:26.809 [http-apr-8080-exec-6] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: ����
牛逼,感谢
谢谢!但是不明白<a class="btn btn-info" href="${sk.seckillId}/detail" target="_blank">Link</a>中的${sk.seckillId}/detail前边为什么不加seckill呢?
我也是一直报错
context root改成/了。也是一直404
感谢!!!
楼主,我index就无法显示了怎么办,用的是idea
为什么注释掉就可以啊?可否说一下!
感谢!网上找了半天,还是这里靠谱!
原因是因为SeckillController类外面加了@RequestMapping(value="/seckill"),注释掉就可以了。
已解决。
我用的Eclipse,和老师用的IDEA不一样,项目跑起来的路径是:http://localhost:8080/Seckill/
http://localhost:8080/Seckill/seckill/list 就是列表页。
http://localhost:8080/Seckill/seckill/1000/detail 就是详情页。
不过我列表页到详情页的Link是这样写的:<a class="btn btn-info" href="${sk.seckillId}/detail" target="_blank">Link</a>
Java高并发秒杀API之web层
66084 学习 · 395 问题
相似问题