click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luiz Eduardo Martins Rodrigues (JIRA)" <>
Subject [jira] Created: (CLK-540) ClassCastException in XmlConfigService
Date Mon, 27 Apr 2009 20:50:30 GMT
ClassCastException in XmlConfigService

                 Key: CLK-540
             Project: Click
          Issue Type: Bug
          Components: core
    Affects Versions: 2.1.0
         Environment: Windows XP Professional,
eclipse ganymede,
tried to run with jetty 6 and tomcat 6.
            Reporter: Luiz Eduardo Martins Rodrigues
            Priority: Critical
             Fix For: 2.1.0

java.lang.ClassCastException: cannot be cast to
	at br.ufpr.hc.infra.hibernate.HibernateClickServlet.init(
	at javax.servlet.GenericServlet.init(
	at org.mortbay.jetty.servlet.ServletHolder.initServlet(
	at org.mortbay.jetty.servlet.ServletHolder.doStart(
	at org.mortbay.component.AbstractLifeCycle.start(
	at org.mortbay.jetty.servlet.ServletHandler.initialize(
	at org.mortbay.jetty.servlet.Context.startContext(
	at org.mortbay.jetty.webapp.WebAppContext.startContext(
	at org.mortbay.jetty.handler.ContextHandler.doStart(
	at org.mortbay.jetty.webapp.WebAppContext.doStart(
	at org.mortbay.component.AbstractLifeCycle.start(
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(
	at org.mortbay.jetty.Server.doStart(
	at org.mortbay.component.AbstractLifeCycle.start(
	at runjettyrun.Bootstrap.main(

at the same time, I´ve created a main method inside the project with these lines:

String classname = "";
Class deployClass = ClickUtils.classForName(classname);
Control control = (Control) deployClass.newInstance();

and it worked...

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message