when i use zk-osgi-8.0.0 i encounter issue relate to load resource file (see full stack at bellow).
reason by commit: https://github.com/zkoss/zk/commit/d6757af92f2b8518a820cff96a69b06df8faaac7
will make package javassist.util.proxy, export by two bundle javassist and zkbind.
it let other bundle as zel_8.0.0 see only class in javassist.util.proxy of zkbind
solution:
1. don't export package javassist.util.proxy in zkbind. i see it don't use at other bundle
2. rename package javassist.util.proxy in zkbind.
===========full log==========
SEVERE: Unable to load ~./zul/css/norm.css.dsp
java.lang.NoClassDefFoundError: javassist/util/proxy/ProxyFactory
at org.zkoss.zel.impl.lang.ELSupport.coerceToType(ELSupport.java:559)
at org.zkoss.zel.impl.ExpressionFactoryImpl.coerceToType(ExpressionFactoryImpl.java:46)
at org.zkoss.zel.ELContext.convertToType(ELContext.java:306)
at org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:41)
at org.zkoss.web.servlet.dsp.impl.ActionNode$Attr.apply(ActionNode.java:132)
at org.zkoss.web.servlet.dsp.impl.ActionNode$Attr.access$000(ActionNode.java:116)
at org.zkoss.web.servlet.dsp.impl.ActionNode.interpret(ActionNode.java:63)
at org.zkoss.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:51)
at org.zkoss.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:60)
at org.zkoss.web.util.resource.DspExtendlet.service(DspExtendlet.java:95)
at org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:585)
at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:571)
at org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:262)
at org.zkoss.web.util.resource.ClassWebResource$CWC.include(ClassWebResource.java:811)
at org.zkoss.zk.ui.http.WcsExtendlet.service(WcsExtendlet.java:112)
at org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:585)
at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:571)
at org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:262)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:427)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: javassist.util.proxy.ProxyFactory cannot be found by zel_8.0.0
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:382)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)