java.lang.Error: factory already defined >> at java.net.URL.setURLStreamHandlerFactory(URL.java:1077) >> at >> org.apache.felix.framework.URLHandlers.<init>(URLHandlers.java:178) >> at >> org.apache.felix.framework.URLHandlers.registerFrameworkInstance(URLHandlers.java:559) >> at >> org.apache.felix.framework.URLHandlersActivator.start(URLHandlersActivator.java:71) >> at >> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645) >> at >> org.apache.felix.framework.Felix$SystemBundleActivator.start(Felix.java:4475) >> at >> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645) >> at org.apache.felix.framework.Felix.init(Felix.java:767) >> at org.apache.felix.framework.Felix.start(Felix.java:816) >> at >> com.wl.tomcat.http.bridge.FrameworkService.start(FrameworkService.java:25) >> at >> com.wl.tomcat.http.bridge.StartupListener.contextInitialized(StartupListener.java:14) >> at >> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) >> at >> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) >> at >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >> at >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >> at >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >> at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) >> at >> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963) >> at >> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >> at >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >> at java.util.concurrent.FutureTask.run(FutureTask.java:138)

felix-users | Karl Pauls | 4 years 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

    Re: Class loading issues for embedded felix within tomcat

    felix-users | 4 years ago | Karl Pauls
    java.lang.Error: factory already defined >> at java.net.URL.setURLStreamHandlerFactory(URL.java:1077) >> at >> org.apache.felix.framework.URLHandlers.<init>(URLHandlers.java:178) >> at >> org.apache.felix.framework.URLHandlers.registerFrameworkInstance(URLHandlers.java:559) >> at >> org.apache.felix.framework.URLHandlersActivator.start(URLHandlersActivator.java:71) >> at >> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645) >> at >> org.apache.felix.framework.Felix$SystemBundleActivator.start(Felix.java:4475) >> at >> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645) >> at org.apache.felix.framework.Felix.init(Felix.java:767) >> at org.apache.felix.framework.Felix.start(Felix.java:816) >> at >> com.wl.tomcat.http.bridge.FrameworkService.start(FrameworkService.java:25) >> at >> com.wl.tomcat.http.bridge.StartupListener.contextInitialized(StartupListener.java:14) >> at >> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) >> at >> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) >> at >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >> at >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >> at >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >> at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) >> at >> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963) >> at >> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >> at >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  2. 0

    Scala doesn't work

    GitHub | 4 years ago | jvilk
    java.lang.Error: native method NYI: Lsun/misc/Unsafe;::park(ZJ)V
  3. 0

    Eclipse fails to compile pasted code

    Stack Overflow | 6 years ago | Salem
    java.lang.Error: Unresolved compilation problems: Syntax error on tokens, ArgumentList expected instead years cannot be resolved to a type Duplicate field Buttons.old Syntax error on tokens, ArgumentList expected instead Duplicate field Buttons.old</p> </blockquote> <pre><code>at practice1.Buttons.&lt;init&gt;(Buttons.java:13)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java Applet not working for any code in eclipse

    Stack Overflow | 2 years ago | Spectral Stealth You2941
    java.lang.Error: Unresolved compilation problems: The public type Tutorial must be defined in its own file Syntax error, insert "}" to complete ClassBody</p> <pre><code>at Tutorial.&lt;init&gt;(Applet101.java:4)
  6. 0

    Reaping an object with references

    Google Groups | 2 decades ago | Craig R Hughes
    java.lang.Error: Reaping an object with references

  1. melezov 2 times, last 9 months ago
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.Error

    factory already defined >> at java.net.URL.setURLStreamHandlerFactory(URL.java:1077) >> at >> org.apache.felix.framework.URLHandlers.<init>(URLHandlers.java:178) >> at >> org.apache.felix.framework.URLHandlers.registerFrameworkInstance(URLHandlers.java:559) >> at >> org.apache.felix.framework.URLHandlersActivator.start(URLHandlersActivator.java:71) >> at >> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645) >> at >> org.apache.felix.framework.Felix$SystemBundleActivator.start(Felix.java:4475) >> at >> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645) >> at org.apache.felix.framework.Felix.init(Felix.java:767) >> at org.apache.felix.framework.Felix.start(Felix.java:816) >> at >> com.wl.tomcat.http.bridge.FrameworkService.start(FrameworkService.java:25) >> at >> com.wl.tomcat.http.bridge.StartupListener.contextInitialized(StartupListener.java:14) >> at >> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) >> at >> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) >> at >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >> at >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >> at >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >> at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) >> at >> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963) >> at >> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >> at >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >> at java.util.concurrent.FutureTask.run(FutureTask.java:138)

    at java.lang.Thread.run()
  2. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame