解决HTTP Status 500type Exception reportdescription The server encountered an internal error的问题

解决方法,若有错误,敬请指正

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关掉就行了。

终于能运行了:
在这里插入图片描述

发布了45 篇原创文章 · 获赞 38 · 访问量 2129

猜你喜欢

转载自blog.csdn.net/qq_44830627/article/details/105324064