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 zeroturnaround.com by Unknown author, 1 year ago
com.zeroturnaround.javarebel.SDKReloaderImpl cannot be cast to org.zeroturnaround.javarebel.Reloader
java.lang.ClassCastException: com.zeroturnaround.javarebel.SDKReloaderImpl cannot be cast to org.zeroturnaround.javarebel.Reloader	at org.zeroturnaround.javarebel.ReloaderFactory.(ReloaderFactory.java:33)	at com.sun.jersey.jrebel.Reloader.setClasspathResourceConfig(Reloader.java:29)	at com.sun.jersey.api.core.ResourceConfig.validate(ResourceConfig.java:577)	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795)	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:589)	at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:429)	at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:278)	at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:563)	at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:211)	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:333)	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:496)	at javax.servlet.GenericServlet.init(GenericServlet.java:241)	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:667)	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)	at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:124)	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)	at org.mortbay.jetty.Server.doStart(Server.java:222)	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)	at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:441)	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:383)	at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:205)	at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)