可以看到RequestFormat依赖了org.apache.http.entity.ContentType
所以导致报NoClassDefFoundError
加以下坐标在pom.xml中就能解决这个问题了
org.apache.httpcomponents httpasyncclient 4.1.4 org.apache.httpcomponents httpclient 4.5.6 org.apache.httpcomponents httpcore 4.4.10 org.apache.httpcomponents httpcore-nio 4.4.10



