【发布时间】:2013-05-17 07:58:48
【问题描述】:
我们将在我们的开发中使用 WebSphere 8.0 应用服务器。
我们的网络应用程序使用 Amazon aws java sdk,而后者又使用 Apache http-client 4.1。
但是,WebSphere 在其库中也有 http-client 类,这似乎与位于我们的 web 应用程序中的 http-client 冲突。
我找到了与 WebSphere 一起分发的 http-client 类的下一个列表:
\WebSphere\AppServer\plugins\com.ibm.ws.prereq.jaxrs.jar (http-client 4.0.1)
\WebSphere\AppServer\runtimes\com.ibm.jaxrs.thinclient_8.0.0.jar
所以,我的问题是:如何首先加载位于我的应用程序中而不是由 WebSphere 应用程序容器提供的类?
【问题讨论】:
标签: jakarta-ee websphere websphere-8