Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tomcat #56

Open
Sunxb opened this issue Aug 28, 2019 · 11 comments
Open

tomcat #56

Sunxb opened this issue Aug 28, 2019 · 11 comments

Comments

@Sunxb
Copy link

Sunxb commented Aug 28, 2019

你好,我想用tomcat把这个项目跑起来,还需要改什么配置么?

@statickert
Copy link

要么用编辑器,加载tomcat
要么将项目打成war包交给tomcat

@Sunxb
Copy link
Author

Sunxb commented Aug 28, 2019

@statickert 我用的intellij跑的tomcat, 总是404

@statickert
Copy link

哦哦 404是没太大问题的。没有找到网页
输入正确的URL即可。

@Sunxb
Copy link
Author

Sunxb commented Aug 28, 2019

@statickert url应该是正确的了,我总感觉是根本运行不到controller里面

@statickert
Copy link

spring mvc的脚本通过了吗?

@XBW1
Copy link

XBW1 commented Aug 28, 2019 via email

@XBW1
Copy link

XBW1 commented Aug 28, 2019 via email

@XBW1
Copy link

XBW1 commented Aug 28, 2019 via email

@gsq47
Copy link

gsq47 commented Sep 26, 2019

请问有遇到过这个原因吗 Connections could not be acquired from the underlying database
用户名 密码 全部都是正确的,找不到解决办法了,想请教一下,这个是什么情况呢

@XBW1
Copy link

XBW1 commented Sep 26, 2019 via email

@gsq47
Copy link

gsq47 commented Oct 10, 2019

由于我的mysql是8.0.16的,所以需要使用mysql-connector-java 8.0.11版本,spring配置文件里需要修改 把com.mysql.jdbc.Driver 改为 com.mysql.cj.jdbc.Driver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants