You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by arne anka <do...@ginguppin.de> on 2008/04/02 17:10:03 UTC

object is not an instance of declaring class

hi,
i got a jspx with a jscookmenu and a backing bean.

<t:jscookMenu id="menu2" layout="hbr" theme="ThemeOffice"  
styleLocation="css">
...
everything is fine until i change something in the bean and recompile it,  
the tomcat recognizes it and refreshes -- but after that any request to my  
jspx-page ends with

/mypage.jspx @7,81 theme="ThemeOffice" object is not an instance of  
declaring class

a workaround would be to replace ThemeOffice with an el-expression like  
#{myBean.theme} which would return "ThemeOffice" -- but this case is only  
an example.
it happens all the time with several tags and the only thing i can do is  
restart the tomcat which interrupts the workflow ...

i have seen several postings regarding this but no solution.


regards