java.lang.NoClassDefFoundError: javassist/util/proxy/ProxyFactory

ZK-Tracker | hiepgau | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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)

    ZK-Tracker | 1 year ago | hiepgau
    java.lang.NoClassDefFoundError: javassist/util/proxy/ProxyFactory
  2. 0

    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)

    ZK-Tracker | 1 year ago | hiepgau
    java.lang.NoClassDefFoundError: javassist/util/proxy/ProxyFactory
  3. 0

    Karaf - User - javax/annotation/Priority is missing

    nabble.com | 9 months ago
    org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean publicAPI
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    javax/annotation/Priority is missing

    karaf-user | 11 months ago | Christian Lutz
    org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean publicAPI
  6. 0

    TM Terminal | Eclipse Plugins, Bundles and Products - Eclipse Marketplace

    eclipse.org | 11 months ago
    org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: org/eclipse/cdt/utils/pty/PTY$Mode

    75 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      javassist.util.proxy.ProxyFactory cannot be found by zel_8.0.0

      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal()
    2. Eclipse OSGi
      ModuleClassLoader.loadClass
      1. org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:382)
      2. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
      3. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
      4. org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
      4 frames
    3. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      1 frame