2017-01-02 133 views
0

我的應用程序未能啓動,在WebSphere Application Server 8.5.5.10上下面的錯誤,正在對8.5.5.5無法啓動應用程序是8.5.5.10

[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) 
  1. 應用failes部署後啓動
  2. 當JVM啓動時,應用程序無法啓動
  3. 相同的應用程序正在從控制檯手動啓動。
  4. 當我把反射-0.9.10.jar共享庫我越來越無法加載web應用

    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.應用程序開始時,我所有的第三方jar文件移動到共享庫。

+0

做WAS的過程讀訪問'反射-0.9。 10.jar文件系統上? jar可能是損壞的,或者是用比運行時使用的更高級別的java編譯的? –

+0

驗證了reflections-0.9.10.jar的編譯版本,它與其他應用程序具有相同的版本。 – kusumat

+0

即使我放置了反射0.9.10.jar我有同樣的問題無法加載webapp – kusumat

回答

0

應用程序服務器的SystemOut.log文件將指示正在使用哪個版本的Java(JVM)。驗證reflections-0.9.10.jar中的類文件版本是否大於服務器JVM的版本。只要此條件爲真,您發佈的錯誤就會發生。