作者:admin | 分类:java | 浏览:328 | 评论:0
作者:admin | 分类:java | 浏览:328 | 评论:0
错误信息:
Caused by: java.net.ConnectException: Call From hadoop102/192.168.1.102 to hadoop102:9000 failed on connection exception:
java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
<<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
&
org.apache.cxfcxf-rt-transports-http-jetty3.0.1
依赖
<dependency>
<gr
The content of element type "web-app" must match "(icon?,display-
name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-
mapping*,session-config?,mime
经查发现是JDK缺少 servlet-api.jar 包
解决方案1:
步骤1:下载 64-bit Windows zip (pgp, sha512),地址 https://tomcat.apache.org/download-90.cgi
步骤2:拷贝 apache-tomcat-9.0.34/lib 下的 servlet-api.jar 包到 jdk1.8.0_251/jre/l
Powered By Z-BlogPHP 1.7.3
Copyright Your WebSite.Some Rights Reserved.