要将org.apache.camel.component.http.HttpMethods添加到Spring项目中,应该添加哪些依赖项?我试过了,但这些似乎都没有用.
https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient
https://mvnrepository.com/artifact/org.apache.camel/camel-http
https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient 而且,我也找不到对谷歌搜索的依赖。
发布于 2018-09-10 16:55:31
org.apache.camel.component.http.HttpMethods可以在org.apache.camel:camel-http工件中找到。
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-http</artifactId>
<version>2.22.1</version>
</dependency>我不知道你为什么说它不在那里
$ zipinfo -1 camel-http-2.22.1.jar | grep HttpMethods
org/apache/camel/component/http/HttpMethods.classhttps://stackoverflow.com/questions/52262304
复制相似问题