解决方法,若有错误,敬请指正
1、 配置Struts的时候,使用jsp出现了这个问题
找了半天,提供一下我的解决方法,是发现jdk1.8与Tomcat7.0不兼容,然后我下载了一个Tomcat8.5就行了,可以运行程序。
2、还有这个问题,出现Several ports (8005, 8080, 8009) required by Tomcat v8.5 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
这种情况主要就是端口被占用的问题,我的是因为有两个eclipse,第一个eclipse在运行,然后我准备运行第二个eclipse的时候报出这个错,解决方法就是,把第一个eclipse关掉就行了。
终于能运行了: