原文:https://www.cnblogs.com/lei01/p/9846825.html
原文:https://www.cnblogs.com/jimoer/p/10166343.html
原文:https://jingyan.baidu.com/article/c85b7a6449b68b003bac9519.html
原文:https://blog.csdn.net/weixin_38381149/article/details/89668578
1、IDEA 配置 JDK
IDEA 编译项目报错,总说找不到java.exe
File -> Project Structure -> Platform Settings -> SDKs
,选择JDK home path
的路径即可。
2、IDEA 配置 Maven
File -> Settings -> Build,Execution,Deployment -> Build Tools -> Maven -> Maven home directory
3、IDEA 配置 Tomcat
配置 Tomcat 的路径
Run => Edit Configurations => Templates => Tomcat Server => Local => Application server => Configure => Tomcat Home
配置 IDEA 自动发布 ROOT
Run => Edit Configurations => Templates => Tomcat Server => Local => Deployment
- 在
Deploy at the server startup
面板中添加Tomcat
的ROOT
目录 - 在
Application context
添加路径/ROOT
ROOT文件夹的作用
原文:https://www.cnblogs.com/beijingstruggle/p/4952131.html
打开 localhost 时的默认访问项,即默认网站的文件夹