This is issue with java version. I am using java 7 which i cannot change now. but looks like Freemarker jar is compiled using java8. Any Suggestion?
Thanks, Raj On Wed, Mar 14, 2018 at 6:03 PM, Adam Brin <ab...@digitalantiquity.org> wrote: > I'd look at the different versions of ASM you have installed both directly > and indirectly in our pom as a first guess. > > On Wed, Mar 14, 2018 at 5:30 AM, Rajvinder Pal <rajvinder....@gmail.com> > wrote: > > > Hi , > > > > I have upgraded the mandatory jars. But during websphere startup, i am > > getting the below exception:- > > > > [3/14/18 17:44:27:005 IST] 00000056 ecs W > > com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR > > unable > > to open input stream for resource freemarker/core/_Java8Impl.class in > > archive WEB-INF/lib/freemarker-2.3.26-incubating.jar > > java.lang.IllegalArgumentException > > at org.objectweb.asm.ClassReader.<init>(Unknown Source) > > at org.objectweb.asm.ClassReader.<init>(Unknown Source) > > at org.objectweb.asm.ClassReader.<init>(Unknown Source) > > at > > com.ibm.ws.ecs.internal.scan.impl.ClassScanner. > > scanInputStream(ClassScanner.java:147) > > at > > com.ibm.ws.ecs.internal.scan.impl.ClassScanner. > > scanInputStream(ClassScanner.java:124) > > at > > com.ibm.ws.ecs.internal.scan.impl.ClassScanner. > > scanInputStream(ClassScanner.java:120) > > at > > com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJAR( > > ScannerContextImpl.java:275) > > at > > com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJARs( > > ScannerContextImpl.java:315) > > at > > com.ibm.ws.ecs.internal.scan.context.impl.WARScannerContext. > scanInternal( > > WARScannerContext.java:76) > > at > > com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scan( > > ScannerContextImpl.java:87) > > at > > com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl. > > getScannedClasses(ScannerContextImpl.java:70) > > at > > com.ibm.ws.webcontainer.webapp.WebAppImpl.scanForHandlesTypesClasses( > > WebAppImpl.java:752) > > at > > com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInit > > ializers(WebAppImpl.java:600) > > at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize( > > WebAppImpl.java:409) > > at > > com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication( > > WebGroupImpl.java:88) > > at > > com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication( > > VirtualHostImpl.java:169) > > at com.ibm.ws.webcontainer.WSWebContainer.addWebApp( > > WSWebContainer.java:749) > > at > > com.ibm.ws.webcontainer.WSWebContainer.addWebApplication( > > WSWebContainer.java:634) > > at > > com.ibm.ws.webcontainer.component.WebContainerImpl. > > install(WebContainerImpl.java:426) > > at > > com.ibm.ws.webcontainer.component.WebContainerImpl. > > start(WebContainerImpl.java:718) > > at > > com.ibm.ws.runtime.component.ApplicationMgrImpl.start( > > ApplicationMgrImpl.java:1175) > > at > > com.ibm.ws.runtime.component.DeployedApplicationImpl. > > fireDeployedObjectStart(DeployedApplicationImpl.java:1370) > > at > > com.ibm.ws.runtime.component.DeployedModuleImpl.start( > > DeployedModuleImpl.java:639) > > at > > com.ibm.ws.runtime.component.DeployedApplicationImpl.start( > > DeployedApplicationImpl.java:968) > > at > > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication( > > ApplicationMgrImpl.java:774) > > at > > com.ibm.ws.runtime.component.ApplicationMgrImpl.start( > > ApplicationMgrImpl.java:2182) > > at > > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start( > > CompositionUnitMgrImpl.java:445) > > at > > com.ibm.ws.runtime.component.CompositionUnitImpl.start( > > CompositionUnitImpl.java:123) > > at > > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start( > > CompositionUnitMgrImpl.java:388) > > at > > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$ > > 500(CompositionUnitMgrImpl.java:116) > > at > > com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run( > > CompositionUnitMgrImpl.java:994) > > at > > com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run( > > WsComponentImpl.java:502) > > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862 > > > > What should i check for the above error? > > > > > > -- > _________________________________________________________ > Adam Brin > Director of Technology, Digital Antiquity > 480.965.1278 >