Websphere 在IBM WAS服务器中尝试使用Netty时出现无法打开输入流错误

Websphere 在IBM WAS服务器中尝试使用Netty时出现无法打开输入流错误,websphere,netty,pushy,Websphere,Netty,Pushy,我正在尝试使用netty JAR作为pushy library()的一部分来发送apple推送通知。它在我当地的雄猫中运行良好。当我尝试在IBM WAS上部署相同的组件并启动服务器时,它给出了以下异常 com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR无法打开归档文件WEB-INF/lib/netty-common-4.1.16.Final.jar中资源io/netty/util/internal/shade/

我正在尝试使用netty JAR作为pushy library()的一部分来发送apple推送通知。它在我当地的雄猫中运行良好。当我尝试在IBM WAS上部署相同的组件并启动服务器时,它给出了以下异常

com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR无法打开归档文件WEB-INF/lib/netty-common-4.1.16.Final.jar中资源io/netty/util/internal/shade/org/jctools/queues/package-info.class的输入流

请在下面找到我使用的版本

WAS-8.5.5 Java-1.7 Netty-4.1.16

请帮助我了解问题的原因以及如何解决问题。谢谢。

查看来自

我看到这个资源:

netty-common-4.1.16.Final.jar/io/netty/util/internal/shade/org/jctools/queues/package-info.class

这是使用java8编译器编译的。这似乎不正确——JAR的其他类资源都不是使用java8编译的

“包裹信息”的数据(内部报告格式):

例如,“Log4JLoggerFactory”的相同数据:

/netty-common-4.1.16.Final.jar/io/netty/util/internal/logging/Log4JLoggerFactory.class
公共io.netty.util.internal.logging.Log4JLoggerFactory
扩展io.netty.util.internal.logging.InternalLoggerFactory
版本[0x32 0x00](J2SE 6.0)
[F] 公共静态最终实例:[Lio/netty/util/internal/logging/InternalLoggerFactory;]
[M] 已弃用的公共文件:[()V](无效)
@java.lang.com已弃用
[M] public newInstance:[(Ljava/lang/String;)Lio/netty/util/internal/logging/InternalLogger;]
[M] 静态:[()V](无效)
您可以尝试在删除该资源的情况下重新运行吗?(或者,重建为不使用java8?)IBM WebSphere不会处理java8类,除非服务级别足够高(8.5.5.9及更高)。或者,尝试更高的WebSphere服务级别

/netty-common-4.1.16.Final.jar/io/netty/util/internal/shaded/org/jctools/queues/package-info.class
    interface synthetic io.netty.util.internal.shaded.org.jctools.queues.package-info
        extends java.lang.Object
        Version [ 0x34 0x00 ] ( J2SE 8 )
/netty-common-4.1.16.Final.jar/io/netty/util/internal/logging/Log4JLoggerFactory.class
    public io.netty.util.internal.logging.Log4JLoggerFactory
        extends io.netty.util.internal.logging.InternalLoggerFactory
        Version [ 0x32 0x00 ] ( J2SE 6.0 )
        [F] public static final INSTANCE : [ Lio/netty/util/internal/logging/InternalLoggerFactory; ]
        [M] public deprecated <init> : [ ()V ] ( void )
            @java.lang.Deprecated
        [M] public newInstance : [ (Ljava/lang/String;)Lio/netty/util/internal/logging/InternalLogger; ]
        [M] static <clinit> : [ ()V ] ( void )