我的应用程序无法启动WebSphere Application Server 8.5.5.10上的以下错误,该错误正在使用8.5.5.5
[1/2/17 17:54:20:842 IST] 0000006f ecs W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource org/reflections/scanners/MemberUsageScanner$1.class in archive WEB-INF/lib/reflections-0.9.10.jar
java.lang.RuntimeException
at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source)
at org.objectweb.asm.ClassReader.b(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
当我在共享库中放置Reflections-0.9.10.jar时,我无法加载webapp
Caused by: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: null
at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:177)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:901)
... 73 more
Caused by: java.lang.RuntimeException
at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source)
at org.objectweb.asm.ClassReader.b(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
5.当我将所有第三方罐子移动到共享库时,应用程序启动。
答案 0 :(得分:1)
升级到8.5.5.11,在最新的fixpack中修复了问题 http://www-01.ibm.com/support/docview.wss?uid=swg1PI60902 如果您在8.5.5.10中找到任何其他解决方案,请告诉我
答案 1 :(得分:0)
应用程序服务器的SystemOut.log文件将指示正在使用的Java(JVM)版本。验证reflections-0.9.10.jar中类文件的版本是否大于服务器JVM的版本。只要此条件为真,就会发生您发布的错误。