Intellij Idea创建Web项目
所用软件
jdk:jdk1.7.0_79
tomcat:apache-tomcat-7.0.85(x64)-8080
所用Intellij Idea的版本:IntelliJ IDEA 2018.1.5 x64
https://www.jetbrains.com/idea/download/#section=windows
安装
1. jdk:略
注意:环境变量多加一个JRE_HOME,路径是jdk目录下的jre
2. tomcat:略
3. Intellij Idea
安装:https://blog.csdn.net/qq_35434690/article/details/77683655
**:https://blog.csdn.net/SmileLvCha/article/details/78936659
创建Web项目
http://www.cnblogs.com/yangyquin/p/5285272.html
遇到的问题
问题1:
使用IDEA开启Tomcat时候报了这么个错:Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099
解决方案
1. 环境变量多加一个JRE_HOME,路径是jdk目录下的jre
2.修改tomcat的文件夹名并重新部署,文件夹名的一些特殊字符会影响部署。