Java高并发秒杀API
- jdk 1.8
- tomcat 8.5
Java高并发秒杀API(慕课网)
Home Page: http://www.imooc.com/u/2145618/courses?sort=publish
License: MIT License
Java高并发秒杀API
你好:
这个工程现在我已经导入eclipse中,在tomcat中已经启动了本工程,但是访问http://localhost:8080/seckill/list.jsp报404的错误,当时我看了访问网址就是这个,不知道问题出在哪里,能说下嘛?
你好,在spring-service.xml文件中transactionManager 的ref 引用 dataSource ,这个dataSource应该是 spring-dao.xml中的值,我照着你这个代码写,dataSource 是报红,无法引用,应该加上 吧?
执行
CREATE TABLE seckill(
seckill_id
bigint NOT NULL AUTO_INCREMENT COMMENT '商品库存id',
name
varchar(120) NOT NULL COMMENT '商品名称',
number
int NOT NULL COMMENT '库存数量',
start_time
timestamp NOT NULL COMMENT '秒杀开启时间',
end_time
timestamp NOT NULL COMMENT '秒杀结束时间',
create_time
timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
PRIMARY KEY(seckill_id),
key idx_start_time(start_time),
key idx_end_time(end_time),
key idx_create_time(create_time)
)ENGINE=InnoDB AUTO_INCREMENT=1000 DEFAULT CHARSET=utf8 COMMENT='秒杀库存表';
出现 ERROR 1067 (42000): Invalid default value for 'end_time' 错误
很是疑惑
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.