[英]NoSuchMethodError org.apache.http.conn.scheme.Scheme
java.lang.NoSuchMethodError: org/apache/http/conn/scheme/Scheme.(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V
java.lang.NoSuchMethodError:org / apache / http / conn / scheme / Scheme。(Ljava / lang / String; ILorg / apache / http / conn / scheme / SchemeSocketFactory;)V
I'm getting this error running WAS 8.5. 我在运行WAS 8.5时遇到此错误。 My web app depends on http client 4.1.1 but it seems i'm getting a different class loaded on WAS.
我的Web应用程序依赖于HTTP客户端4.1.1,但似乎我在WAS上加载了其他类。 How can I exclude the http client library from my apps class path on was 8.5?
我如何从8.5的我的应用类路径中排除http客户端库?
Try using "parent last" classloading so that you use your own classes instead of the ones from WAS. 尝试使用“父最后一个”类加载,以便您使用自己的类而不是WAS中的类。
Change it for the application and depending on your configuration for the application on the webmodule as well. 更改该应用程序,并根据您在Webmodule上的应用程序配置进行更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.