java.lang.ExceptionInInitializerError

zeroturnaround.com | 7 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.

Root Cause Analysis

  1. java.lang.ClassCastException

    com.zeroturnaround.javarebel.SDKReloaderImpl cannot be cast to org.zeroturnaround.javarebel.Reloader

    at org.zeroturnaround.javarebel.ReloaderFactory.<clinit>()
  2. JavaRebel SDK
    ReloaderFactory.<clinit>
    1. org.zeroturnaround.javarebel.ReloaderFactory.<clinit>(ReloaderFactory.java:33)
    1 frame
  3. com.sun.jersey
    Reloader.setClasspathResourceConfig
    1. com.sun.jersey.jrebel.Reloader.setClasspathResourceConfig(Reloader.java:29)
    1 frame
  4. Jersey
    WebApplicationImpl.initiate
    1. com.sun.jersey.api.core.ResourceConfig.validate(ResourceConfig.java:577)
    2. com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795)
    3. com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:589)
    3 frames
  5. Jersey
    ServletContainer.init
    1. com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:429)
    2. com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:278)
    3. com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:563)
    4. com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:211)
    5. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:333)
    6. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:496)
    6 frames
  6. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:241)
    1 frame
  7. Jetty Server
    ServletHolder.doStart
    1. org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)
    2. org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
    2 frames
  8. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  9. Jetty Server
    WebAppContext.doStart
    1. org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:667)
    2. org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
    4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
    5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
    5 frames
  10. Jetty :: Jetty Maven Plugin
    Jetty6PluginWebAppContext.doStart
    1. org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:124)
    1 frame
  11. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  12. Jetty Server
    ContextHandlerCollection.doStart
    1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    2. org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
    2 frames
  13. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  14. Jetty Server
    HandlerCollection.doStart
    1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    1 frame
  15. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  16. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    2. org.mortbay.jetty.Server.doStart(Server.java:222)
    2 frames
  17. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  18. Jetty :: Jetty Maven Plugin
    Jetty6RunMojo.execute
    1. org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
    2. org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:441)
    3. org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:383)
    4. org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:205)
    5. org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
    5 frames
  19. Maven Plugin
    DefaultPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
    1 frame
  20. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
    2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
    3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
    4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
    5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
    6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
    7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
    8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
    8 frames
  21. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    1 frame
  22. org.apache.maven
    CompatibleMain.main
    1. org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
    1 frame
  23. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  24. Plexus
    Launcher.main
    1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    4 frames