Servlet.service() for servlet
[dispatcherServlet] in context
with path [] threw exception
[Handler dispatch failed;
nested exception is java.lang.NoClassDefFoundError:
org/apache/http/conn/ssl/DefaultHostnameVerifier]
with root cause
org.apache.http.conn.ssl.DefaultHostnameVerifier
从网上收集到消息是少导jar包
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.4.1</version>
</dependency>
问题解决