click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex (JIRA)" <j...@apache.org>
Subject [JIRA] Commented: (CLK-493) ClassCastException in ClickServlet
Date Sun, 01 Mar 2009 11:43:57 GMT

    [ http://issues.apache.org/click/browse/CLK-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11707#action_11707
] 

Alex commented on CLK-493:
--------------------------

Yes, I replaced "net.sf.click" with "org.apache.click" for the whole project, cleaned, built
and when i deploy on glassfish I still get this exception. I haven't tried deploying ot glassfish3.
I also double checked if i have any net.sf.click references but there were none.

> ClassCastException in ClickServlet
> ----------------------------------
>
>                 Key: CLK-493
>                 URL: http://issues.apache.org/click/browse/CLK-493
>             Project: Click
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.1
>         Environment: glassfish 2r2, netbeans 6.5, JDK 1.6 
>            Reporter: Alex
>            Priority: Blocker
>
> just upgraded from 1.5.1 to 2.0.1 and got this (after cleaning and building) :
> java.lang.ClassCastException: net.sf.click.control.Table cannot be cast to org.apache.click.Control
>         at org.apache.click.service.XmlConfigService.deployControls(XmlConfigService.java:1041)
>         at org.apache.click.service.XmlConfigService.deployFiles(XmlConfigService.java:1095)
>         at org.apache.click.service.XmlConfigService.onInit(XmlConfigService.java:226)
>         at org.apache.click.ClickServlet.initConfigService(ClickServlet.java:1562)
>         at org.apache.click.ClickServlet.init(ClickServlet.java:178)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:254)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1178)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1007)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4808)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5196)
>         at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
>         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1584)
>         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
> .....
> WebModule[/home]ClickServlet: error while initializing Click servlet; throwing javax.servlet.UnavailableException
> Any ideas?

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


Mime
View raw message