You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Bob Schellink (JIRA)" <ji...@apache.org> on 2009/02/28 14:37:55 UTC

[JIRA] Commented: (CLK-493) ClassCastException in ClickServlet

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

Bob Schellink commented on CLK-493:
-----------------------------------

Alex, is this still an issue? Was there any references to "net.sf.click" in the project?

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