Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via knx-user-forum.de by Unknown author, 1 year ago
org.eclipse.osgi.framework.internal.core.BundleURLConnection cannot be cast to java.net.JarURLConnection
via GitHub by Zigulle
, 2 years ago
org.eclipse.osgi.framework.internal.core.BundleURLConnection cannot be cast to java.net.JarURLConnection
via GitHub by arnemg
, 2 years ago
org.eclipse.osgi.framework.internal.core.BundleURLConnection cannot be cast to java.net.JarURLConnection
via GitHub by jfarcand
, 2 years ago
org.jboss.virtual.plugins.vfs.VirtualFileURLConnection cannot be cast to java.net.JarURLConnection
java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.BundleURLConnection cannot be cast to java.net.JarURLConnection	at org.atmosphere.util.annotation.AnnotationDetector.detect(AnnotationDetector.java:325)	at org.atmosphere.cpr.DefaultAnnotationProcessor.scanForAnnotation(DefaultAnnotationProcessor.java:148)	at org.atmosphere.cpr.DefaultAnnotationProcessor.configure(DefaultAnnotationProcessor.java:134)	at org.atmosphere.cpr.AtmosphereFramework.autoConfigureService(AtmosphereFramework.java:2177)	at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:655)	at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:568)	at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:91)	at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:80)	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:49)	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:179)	at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:66)	at org.openhab.io.rest.RESTApplication.activate(RESTApplication.java:140)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)	at org.eclipse.equinox.internal.ds.InstanceProcess.registerService(InstanceProcess.java:536)	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:260)	at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)	at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)	at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)	at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)	at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)	at java.lang.Thread.run(Unknown Source)