java.lang.NoClassDefFoundError: org/osgi/service/jdbc/DataSourceFactory

GitHub | thhart | 10 months 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

    GitHub comment 497#181546701

    GitHub | 1 year ago | vlsi
    org.osgi.framework.BundleException: Exception in org.postgresql.osgi.PGBundleActivator.start() of bundle org.postgresql.jdbc41.
  2. 0

    GitHub comment 497#230726868

    GitHub | 10 months ago | thhart
    java.lang.NoClassDefFoundError: org/osgi/service/jdbc/DataSourceFactory
  3. 0

    org.osgi.framework.BundleException: Activator start error in bundle org.postgresql.jdbc40 [97]. at org.apache.felix.framework.Felix.activateBundle(Felix.java:2273) at org.apache.felix.framework.Felix.startBundle(Felix.java:2141) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:964) at lucee.loader.osgi.BundleUtil.start(BundleUtil.java:130) at lucee.runtime.osgi.OSGiUtil.start(OSGiUtil.java:687) at lucee.runtime.osgi.OSGiUtil.startIfNecessary(OSGiUtil.java:647) at lucee.runtime.osgi.OSGiUtil.loadClass(OSGiUtil.java:323) at lucee.commons.lang.ClassUtil$OSGiBasedClassLoading.loadClass(ClassUtil.java:735) at lucee.commons.lang.ClassUtil._loadClass(ClassUtil.java:234) at lucee.commons.lang.ClassUtil.loadClass(ClassUtil.java:192) at lucee.commons.lang.ClassUtil.loadClass(ClassUtil.java:218) at lucee.runtime.functions.other.JavaProxy.loadClassByPath(JavaProxy.java:99) at lucee.runtime.functions.other.JavaProxy.loadClass(JavaProxy.java:56) at lucee.runtime.functions.other.JavaProxy.call(JavaProxy.java:53) at lucee.runtime.functions.other.CreateObject.doJava(CreateObject.java:137) at lucee.runtime.functions.other.CreateObject.call(CreateObject.java:59) at lucee.runtime.functions.other.CreateObject.call(CreateObject.java:47) at services_datasource_cfm414$cf.call(/home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/services.datasource.cfm:27) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:907) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:822) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:817) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808) at web_cfm$cf.call(/home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/web.cfm:389) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:907) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:822) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:817) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808) at server_cfm$cf.call(/home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/server.cfm:2) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:907) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:822) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:817) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2266) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2258) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2226) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:741) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: org/osgi/service/jdbc/DataSourceFactory at org.postgresql.osgi.PGBundleActivator.start(PGBundleActivator.java:32) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) at org.apache.felix.framework.Felix.activateBundle(Felix.java:2223)

    JIRA | 1 year ago | Nando
    org.osgi.framework.BundleException: Activator start error in bundle org.postgresql.jdbc40 [97].
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/osgi/service/jdbc/DataSourceFactory

      at org.postgresql.osgi.PGBundleActivator.start()
    2. org.postgresql.osgi
      PGBundleActivator.start
      1. org.postgresql.osgi.PGBundleActivator.start(PGBundleActivator.java:32)
      1 frame