bluemix java_使用Bluemix Liberty for Java部署Java应用程序

我们正在尝试使用Liberty for Java buildpack将基于Spring的Java应用程序部署到Bluemix . 我们在下面看到错误 . 我们甚至没有使用org.apache.tiles包 . 相同的应用程序构建在开发Tomcat服务器上运行良好 .

Stack Dump = java.lang.NoClassDefFoundError: org.apache.tiles.el.ScopeELResolver

at java.lang.J9VMInternals.prepareClassImpl(Native Method)

at java.lang.J9VMInternals.prepare(Unknown Source)

at java.lang.Class.getDeclaredMethods(Unknown Source)

at com.ibm.wsspi.injectionengine.MethodMap.getMethods(MethodMap.java:150

)

at com.ibm.wsspi.injectionengine.MethodMap.getAllDeclaredMethods(MethodM

ap.java:86)

at com.ibm.ws.injectionengine.InjectionProcessorManager.getAllDeclaredMe

thods(InjectionProcessorManager.java:430)

at com.ibm.ws.injectionengine.InjectionProcessorManager.processAnnotatio

ns(InjectionProcessorManager.java:231)

at com.ibm.ws.injectionengine.AbstractInjectionEngine.processInjectionMe

taData(AbstractInjectionEngine.java:514)

at com.ibm.ws.injectionengine.osgi.internal.OSGiInjectionEngineImpl.proc

essInjectionMetaData(OSGiInjectionEngineImpl.java:239)

at com.ibm.ws.injectionengine.ReferenceContextImpl.processImpl(Reference

ContextImpl.java:633)

at com.ibm.ws.injectionengine.ReferenceContextImpl.process(ReferenceCont

extImpl.java:305)

at com.ibm.ws.injectionengine.osgi.internal.OSGiReferenceContextImpl.pro

o

cess(OSGiReferenceContextImpl.java:31)

at com.ibm.ws.webcontainer.osgi.webapp.WebApp.commonInitializationStart(

WebApp.java:254)

at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:1038)

at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6565)

at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVi

rtualHost.java:468)

at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApplication(D

ynamicVirtualHost.java:463)

at com.ibm.ws.webcontainer.osgi.WebContainer.startWebApplication(WebCont

ainer.java:1051)

at com.ibm.ws.webcontainer.osgi.WebContainer.access$000(WebContainer.jav

a:104)

at com.ibm.ws.webcontainer.osgi.WebContainer$2.run(WebContainer.java:870

)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.ClassNotFoundException: org.apache.tiles.el.ScopeELResolver

at com.ibm.ws.classloading.internal.AppClassLoader.findClassCommonLibrar

yClassLoaders(AppClassLoader.java:499)

at com.ibm.ws.classloading.internal.AppClassLoader.findClass(AppClassLoa

der.java:282)

at java.lang.ClassLoader.loadClassHelper(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at com.ibm.ws.classloading.internal.AppClassLoader.findOrDelegateLoadCla

ss(AppClassLoader.java:477)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值