ssm
ssm copied to clipboard
tomcat
你好,我想用tomcat把这个项目跑起来,还需要改什么配置么?
要么用编辑器,加载tomcat 要么将项目打成war包交给tomcat
@statickert 我用的intellij跑的tomcat, 总是404
哦哦 404是没太大问题的。没有找到网页 输入正确的URL即可。
@statickert url应该是正确的了,我总感觉是根本运行不到controller里面
spring mvc的脚本通过了吗?
尝试一下输入controller的URL路径,如果还不行,就看一下包冲突
---Original--- From: "statickert"<[email protected]> Date: Wed, Aug 28, 2019 15:22 PM To: "liyifeng1994/ssm"<[email protected]>; Cc: "Subscribed"<[email protected]>; Subject: Re: [liyifeng1994/ssm] tomcat (#56)
spring mvc的脚本通过了吗?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
没有运行controller怎么可能跳转
---Original--- From: "Sunxb"<[email protected]> Date: Wed, Aug 28, 2019 15:19 PM To: "liyifeng1994/ssm"<[email protected]>; Cc: "Subscribed"<[email protected]>; Subject: Re: [liyifeng1994/ssm] tomcat (#56)
@statickert url应该是正确的了,我总感觉是根本运行不到controller里面
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
通过了的
---Original--- From: "statickert"<[email protected]> Date: Wed, Aug 28, 2019 15:22 PM To: "liyifeng1994/ssm"<[email protected]>; Cc: "Subscribed"<[email protected]>; Subject: Re: [liyifeng1994/ssm] tomcat (#56)
spring mvc的脚本通过了吗?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
请问有遇到过这个原因吗 Connections could not be acquired from the underlying database 用户名 密码 全部都是正确的,找不到解决办法了,想请教一下,这个是什么情况呢
数据库连接不正确
---Original--- From: "gsq47"<[email protected]> Date: Thu, Sep 26, 2019 19:00 PM To: "liyifeng1994/ssm"<[email protected]>; Cc: "Comment"<[email protected]>;"XBW1"<[email protected]>; Subject: Re: [liyifeng1994/ssm] tomcat (#56)
请问有遇到过这个原因吗 Connections could not be acquired from the underlying database 用户名 密码 全部都是正确的,找不到解决办法了,想请教一下,这个是什么情况呢
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
由于我的mysql是8.0.16的,所以需要使用mysql-connector-java 8.0.11版本,spring配置文件里需要修改