hi markus,

you are welcome.
that's right - asm is a dependency of cglib. however, it's a good idea to
add this information to the wiki.
btw. you can find it in the sample chapter [1] which is also a part of the
documentation.

@primefaces components:
ok - so now there are more of those components. that's good to know.
(some months ago there were just ~2 components which required it due to
special tricks.)

regards,
gerhard

[1] http://s.apache.org/EXTVAL_Chapter

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2011/8/10 markuslachat <markuslac...@gmail.com>

>
> Many thanks Gerhard, it works now
>
> I needed to add asm.jar as well. Should this be included in the
> documentation?
>
> If I not include generic support.jar Primefaces component like calendar and
> dialog box are not working, (i.e. datatable does). Also my JQuery menu did
> not work anymore
>
> Gerhard Petracek wrote:
> >
> > hi markus,
> >
> >> java.lang.NoClassDefFoundError: net.sf.cglib.proxy.MethodInterceptor
> >
> > ... means that you also have to add cglib (that's used by the generic
> > support module).
> > with primefaces you need this module only if you are using some special
> > components.
> > for most primefaces components, you don't need a support module at all.
> >
> > regards,
> > gerhard
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> > 2011/8/10 markuslachat <markuslac...@gmail.com>
> >
> >>
> >> I am trying to use ExtVal with Primefaces (and Richfaces) on Websphere
> >> 8.0.0.0
> >> CODI is working fine and moreover I installed all available fixes for
> >> Websphere. After adding core, bean and property validation to my project
> >> all
> >> added JQuery was not rendered to the page anymore. So I added the
> generic
> >> support, which causes the following exception message:
> >>
> >> Original Exception:
> >> Error Message: javax.servlet.ServletException:
> >> net.sf.cglib.proxy.MethodInterceptor
> >> Error Code: 500
> >> Target Servlet: Faces Servlet
> >> Error Stack:
> >> java.lang.NoClassDefFoundError: net.sf.cglib.proxy.MethodInterceptor
> >>     at java.lang.ClassLoader.defineClassImpl(Native Method)
> >>     at java.lang.ClassLoader.defineClass(ClassLoader.java:260)
> >>     at java.security.SecureClassLoader.defineClass
> >> (SecureClassLoader.java:69)
> >>     at com.ibm.ws.classloader.CompoundClassLoader._defineClass
> >> (CompoundClassLoader.java:828)
> >>     at com.ibm.ws.classloader.CompoundClassLoader.localFindClass
> >> (CompoundClassLoader.java:743)
> >>     at com.ibm.ws.classloader.CompoundClassLoader.loadClass
> >> (CompoundClassLoader.java:566)
> >>     at java.lang.ClassLoader.loadClass(ClassLoader.java:612)
> >>     at
> >>
> >>
> org.apache.myfaces.extensions.validator.generic.renderkit.GenericRenderKitWrapperFactory.createWrapper
> >> (GenericRenderKitWrapperFactory.java:45)
> >>     at
> >>
> >>
> org.apache.myfaces.extensions.validator.core.renderkit.AbstractRenderKitWrapperFactory.create
> >> (AbstractRenderKitWrapperFactory.java:112)
> >>     at
> >>
> >>
> org.apache.myfaces.extensions.validator.core.renderkit.AbstractRenderKitWrapperFactory.create
> >> (AbstractRenderKitWrapperFactory.java:107)
> >>     at
> >>
> >>
> org.apache.myfaces.extensions.validator.core.renderkit.ExtValRenderKitFactory.tryToCreateWrapperWithWrapperFactory
> >> (ExtValRenderKitFactory.java:144)
> >>     at
> >>
> >>
> org.apache.myfaces.extensions.validator.core.renderkit.ExtValRenderKitFactory.getRenderKit
> >> (ExtValRenderKitFactory.java:87)
> >>     at
> >>
> >>
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.getResponseStateManager
> >> (RendererUtils.java:1203)
> >>     at org.apache.myfaces.lifecycle.DefaultRestoreViewSupport.isPostback
> >> (DefaultRestoreViewSupport.java:180)
> >>     at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute
> >> (RestoreViewExecutor.java:113)
> >>     at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase
> >> (LifecycleImpl.java:171)
> >>     at org.apache.myfaces.lifecycle.LifecycleImpl.execute
> >> (LifecycleImpl.java:118)
> >>     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
> >>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service
> >> (ServletWrapper.java:1147)
> >>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest
> >> (ServletWrapper.java:722)
> >>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest
> >> (ServletWrapper.java:449)
> >>     at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest
> >> (ServletWrapperImpl.java:178)
> >>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget
> >> (WebAppFilterChain.java:125)
> >>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter
> >> (WebAppFilterChain.java:92)
> >>     at gid.common.filter.ServletFilter.doFilter(ServletFilter.java:79)
> >>     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter
> >> (FilterInstanceWrapper.java:192)
> >>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter
> >> (WebAppFilterChain.java:89)
> >>     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter
> >> (WebAppFilterManager.java:919)
> >>     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters
> >> (WebAppFilterManager.java:1016)
> >>     at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest
> >> (WebApp.java:3639)
> >>     at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest
> >> (WebGroup.java:304)
> >>     at com.ibm.ws.webcontainer.WebContainer.handleRequest
> >> (WebContainer.java:950)
> >>     at com.ibm.ws.webcontainer.WSWebContainer.handleRequest
> >> (WSWebContainer.java:1659)
> >>     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready
> >> (WCChannelLink.java:195)
> >>     at
> >>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination
> >> (HttpInboundLink.java:452)
> >>     at
> >> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest
> >> (HttpInboundLink.java:511)
> >>     at
> >> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest
> >> (HttpInboundLink.java:305)
> >>     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready
> >> (HttpInboundLink.java:276)
> >>     at
> >>
> >>
> com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators
> >> (NewConnectionInitialReadCallback.java:214)
> >>     at
> >> com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete
> >> (NewConnectionInitialReadCallback.java:113)
> >>     at
> >> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted
> >> (AioReadCompletionListener.java:165)
> >>     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback
> >> (AbstractAsyncFuture.java:217)
> >>     at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions
> >> (AsyncChannelFuture.java:161)
> >>     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
> >>     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
> >>     at com.ibm.io.async.ResultHandler.runEventProcessingLoop
> >> (ResultHandler.java:775)
> >>     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
> >>     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1648)
> >>     Caused by: java.lang.ClassNotFoundException:
> >> net.sf.cglib.proxy.MethodInterceptor
> >>     at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
> >>     at com.ibm.ws.bootstrap.ExtClassLoader.findClass
> >> (ExtClassLoader.java:198)
> >>     at java.lang.ClassLoader.loadClass(ClassLoader.java:646)
> >>     at com.ibm.ws.bootstrap.ExtClassLoader.loadClass
> >> (ExtClassLoader.java:113)
> >>     at java.lang.ClassLoader.loadClass(ClassLoader.java:612)
> >>     at com.ibm.ws.classloader.ProtectionClassLoader.loadClass
> >> (ProtectionClassLoader.java:62)
> >>     at com.ibm.ws.classloader.ProtectionClassLoader.loadClass
> >> (ProtectionClassLoader.java:58)
> >>     at com.ibm.ws.classloader.CompoundClassLoader.loadClass
> >> (CompoundClassLoader.java:564)
> >>     at java.lang.ClassLoader.loadClass(ClassLoader.java:612)
> >>     ... 48 more
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/ExtVal-with-Primefaces-on-WebSphere-tp32233854p32233854.html
> >> Sent from the MyFaces - Users mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/ExtVal-with-Primefaces-on-WebSphere-tp32233854p32234025.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to