WebSphereApplicationServer、Jackson 1.9和用户事务。找不到工作环境

WebSphereApplicationServer、Jackson 1.9和用户事务。找不到工作环境,websphere,classloader,websphere-8,Websphere,Classloader,Websphere 8,我正在尝试将war部署到使用并打包Jackson 1.9的Websphere。 它还在CDI拦截器中使用usertransactions 如果我将botwar和EAR类加载器设置为parent last,应用程序将不会启动 A resource reference binding could not be found for the following resource references [a.b.c.MyInterceptor/utx], defined for the foobar.wa

我正在尝试将war部署到使用并打包Jackson 1.9的Websphere。 它还在CDI拦截器中使用usertransactions

如果我将botwar和EAR类加载器设置为parent last,应用程序将不会启动

A resource reference binding could not be found for the following resource references [a.b.c.MyInterceptor/utx], defined for the foobar.war component.
如果我将WAR类加载器更改为parent last,则应用程序将启动,但随后将使用Websphere的Jackson 1.5,从而导致MethodNotFound异常

Caused by: java.lang.NoSuchMethodError: org/codehaus/jackson/JsonNode.getFields()Ljava/util/Iterator;

我有点迷路了。我必须做些什么才能使Websphere像任何其他非愚蠢的服务器一样运行,并创建他需要创建的任何绑定,同时在提供时仍然使用我的捆绑库。

可能是,还在研究它你能发布a.b.c.MyInterceptor代码吗?你在哪里使用CDI和UserTransaction?Jackson和Jersey与WAS捆绑在一起,也许可以尝试禁用它们并与你的库创建共享库。查看这篇文章也许会对你有所帮助,谢谢,很高兴看到,这是一个类加载问题。尽管如此,气体信息还是很有用的,谢谢