myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Aranda <brunoara...@gmail.com>
Subject Re: Implementing Class Problem with Tree2
Date Tue, 06 Sep 2005 13:18:52 GMT
It seems that you have some kind of different version jar conflicts
here or a JDK version issue. Please, verify that there are no other
myfaces jars in the server...

Bruno

2005/9/5, marc.baumgartner@degussa-bank.de <marc.baumgartner@degussa-bank.de>:
> Hello,
> 
> I am not able to get the simple.war example work.
> 
> When I call the tree2.jsf page I get the following error:
> 
> java.lang.IncompatibleClassChangeError: Implementing class
>       at java.lang.ClassLoader.defineClass1(Native Method)
>       at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>       at java.security.SecureClassLoader.defineClass(
> SecureClassLoader.java:124)
>       at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>       at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>       at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1247)
>       at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1181)
>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>       at java.lang.Class.getDeclaredConstructors0(Native Method)
>       at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
>       at java.lang.Class.getConstructor0(Class.java:2640)
>       at java.lang.Class.newInstance0(Class.java:321)
>       at java.lang.Class.newInstance(Class.java:303)
>       at org.apache.myfaces.util.ClassUtils.newInstance(ClassUtils.java:287
> )
>       at org.apache.myfaces.util.ClassUtils.newInstance(ClassUtils.java:278
> )
>       at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(
> ManagedBeanBuilder.java:57)
>       at org.apache.myfaces.el.VariableResolverImpl.resolveVariable(
> VariableResolverImpl.java:328)
>       at
> org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(
> ValueBindingImpl.java:637)
>       at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
>       at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140)
>       at org.apache.myfaces.el.ValueBindingImpl.getValue(
> ValueBindingImpl.java:441)
>       at org.apache.myfaces.custom.tree2.UITreeData.getValue(
> UITreeData.java:229)
>       at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeChildren(
> HtmlTreeRenderer.java:159)
>       at javax.faces.component.UIComponentBase.encodeChildren(
> UIComponentBase.java:329)
>       at javax.faces.webapp.UIComponentTag.encodeChildren(
> UIComponentTag.java:380)
>       at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:288
> )
>       at
> org.apache.jsp.tree2_jsp._jspx_meth_t_tree2_0(org.apache.jsp.tree2_jsp:272)
>       at
> org.apache.jsp.tree2_jsp._jspx_meth_h_form_0(org.apache.jsp.tree2_jsp:216)
>       at
> org.apache.jsp.tree2_jsp._jspx_meth_f_view_0(org.apache.jsp.tree2_jsp:185)
>       at org.apache.jsp.tree2_jsp._jspService(org.apache.jsp.tree2_jsp:129)
>       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       at org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:322)
>       at org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:291)
>       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>       at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>       at org.apache.catalina.core.ApplicationDispatcher.invoke(
> ApplicationDispatcher.java:672)
>       at org.apache.catalina.core.ApplicationDispatcher.processRequest(
> ApplicationDispatcher.java:463)
>       at org.apache.catalina.core.ApplicationDispatcher.doForward(
> ApplicationDispatcher.java:398)
>       at org.apache.catalina.core.ApplicationDispatcher.forward(
> ApplicationDispatcher.java:301)
>       at
> org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(
> ServletExternalContextImpl.java:405)
>       at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(
> JspViewHandlerImpl.java:280)
>       at org.apache.myfaces.lifecycle.LifecycleImpl.render(
> LifecycleImpl.java:300)
>       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
>       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>       at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>       at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(
> ExtensionsFilter.java:112)
>       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>       at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>       at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
>       at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
>       at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>       at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>       at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
>       at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:148)
>       at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:856)
>       at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(
> Http11Protocol.java:744)
>       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> PoolTcpEndpoint.java:527)
>       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> LeaderFollowerWorkerThread.java:80)
>       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684)
>       at java.lang.Thread.run(Thread.java:595)
> java.lang.IncompatibleClassChangeError: Implementing class
>       at java.lang.ClassLoader.defineClass1(Native Method)
>       at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>       at java.security.SecureClassLoader.defineClass(
> SecureClassLoader.java:124)
>       at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>       at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>       at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1247)
>       at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1181)
>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>       at java.lang.Class.getDeclaredConstructors0(Native Method)
>       at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
>       at java.lang.Class.getConstructor0(Class.java:2640)
>       at java.lang.Class.newInstance0(Class.java:321)
>       at java.lang.Class.newInstance(Class.java:303)
>       at org.apache.myfaces.util.ClassUtils.newInstance(ClassUtils.java:287
> )
>       at org.apache.myfaces.util.ClassUtils.newInstance(ClassUtils.java:278
> )
>       at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(
> ManagedBeanBuilder.java:57)
>       at org.apache.myfaces.el.VariableResolverImpl.resolveVariable(
> VariableResolverImpl.java:328)
>       at
> org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(
> ValueBindingImpl.java:637)
>       at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
>       at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140)
>       at org.apache.myfaces.el.ValueBindingImpl.getValue(
> ValueBindingImpl.java:441)
>       at org.apache.myfaces.custom.tree2.UITreeData.getValue(
> UITreeData.java:229)
>       at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeChildren(
> HtmlTreeRenderer.java:159)
>       at javax.faces.component.UIComponentBase.encodeChildren(
> UIComponentBase.java:329)
>       at javax.faces.webapp.UIComponentTag.encodeChildren(
> UIComponentTag.java:380)
>       at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:288
> )
>       at
> org.apache.jsp.tree2_jsp._jspx_meth_t_tree2_0(org.apache.jsp.tree2_jsp:272)
>       at
> org.apache.jsp.tree2_jsp._jspx_meth_h_form_0(org.apache.jsp.tree2_jsp:216)
>       at
> org.apache.jsp.tree2_jsp._jspx_meth_f_view_0(org.apache.jsp.tree2_jsp:185)
>       at org.apache.jsp.tree2_jsp._jspService(org.apache.jsp.tree2_jsp:129)
>       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       at org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:322)
>       at org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:291)
>       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>       at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>       at org.apache.catalina.core.ApplicationDispatcher.invoke(
> ApplicationDispatcher.java:672)
>       at org.apache.catalina.core.ApplicationDispatcher.processRequest(
> ApplicationDispatcher.java:463)
>       at org.apache.catalina.core.ApplicationDispatcher.doForward(
> ApplicationDispatcher.java:398)
>       at org.apache.catalina.core.ApplicationDispatcher.forward(
> ApplicationDispatcher.java:301)
>       at
> org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(
> ServletExternalContextImpl.java:405)
>       at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(
> JspViewHandlerImpl.java:280)
>       at org.apache.myfaces.lifecycle.LifecycleImpl.render(
> LifecycleImpl.java:300)
>       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
>       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>       at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>       at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(
> ExtensionsFilter.java:112)
>       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>       at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>       at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
>       at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
>       at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>       at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>       at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
>       at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:148)
>       at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:856)
>       at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(
> Http11Protocol.java:744)
>       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> PoolTcpEndpoint.java:527)
>       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> LeaderFollowerWorkerThread.java:80)
>       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684)
>       at java.lang.Thread.run(Thread.java:595)
> 
> Am i doing something wrong?
> 
> regards
> Marc
> 
>

Mime
View raw message