-
Notifications
You must be signed in to change notification settings - Fork 527
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
idea终于跑成功了 #36
Comments
前提先用可视化数据库管理创建个examination_system库,查询下sql。 |
能跟你讨教idea运行这个项目吗?
请问能跟你讨教一下关于idea运行这个项目的问题吗? |
q2221999792 |
Build completed successfully in 3 sec, 64 ms 出现这个是构建好了么,但是还是运行不起来 |
404 /login资源找不到 |
谢谢,参照您的做法,idea版本已调通。 |
有用! |
idea先配置好maven,然后用maven导入项目,进去后等它慢慢下载,我用的mysql5.6所以之后只用修改mysql.properties的密码。
然后项目设置添加下资源文件夹,再修改下web.xml中contextConfigLocation,原为/WEB-INF/classes/spring/applicationContext-*.xml,替换/WEB-INF/classes/为classpath:。
然后用tomcat启动这个项目,但是重要的是这个项目启动的Deployment中Artifity:war exploded中Application context为 / 即可成功启动。
The text was updated successfully, but these errors were encountered: