[seam-dev] seam-faces 3.0.0.Final java.lang.NoClassDefFoundError: org/jboss/seam/exception/control/ExceptionToCatch

Sebastian E. Ovide sebastian.ovide at gmail.com
Thu Mar 31 13:35:58 EDT 2011


work arounded with

        <dependency>
           <groupId>org.jboss.seam.catch</groupId>
           <artifactId>seam-catch-api</artifactId>
           <version>3.0.0.Final</version>
        </dependency>

On Thu, Mar 31, 2011 at 6:19 PM, Dan Allen <dan.j.allen at gmail.com> wrote:

> On Thu, Mar 31, 2011 at 13:17, Sebastian E. Ovide <
> sebastian.ovide at gmail.com> wrote:
>
>> I have not idea.... I thought that maven would do all the class path
>> magic....
>>
>
> Nope, seam-catch is optional. However, given that it's optional, you
> shouldn't be seeing this exception. This could be a bug related to
> overzealous classloading. Feel free to file a JIRA for investigation.
>
> -Dan
>
>
>>
>> On Thu, Mar 31, 2011 at 6:12 PM, José Rodolfo Carrijo de Freitas <
>> jose.freitas at softplan.com.br> wrote:
>>
>>>  Do you have seam catch in your classpath?
>>>
>>>
>>>
>>> *De:* seam-dev-bounces at lists.jboss.org [mailto:
>>> seam-dev-bounces at lists.jboss.org] *Em nome de *Sebastian E. Ovide
>>>
>>> *Enviada em:* quinta-feira, 31 de março de 2011 14:10
>>> *Para:* seam-dev at lists.jboss.org
>>> *Assunto:* [seam-dev] seam-faces 3.0.0.Final
>>> java.lang.NoClassDefFoundError:
>>> org/jboss/seam/exception/control/ExceptionToCatch
>>>
>>>
>>>
>>> after migrating to seam-faces 3.0.0.Final and to Glassfish 3.1 I can read
>>> this exception from the glassfish console:
>>>
>>> WARNING: StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service()
>>> for servlet FacesServlet threw exception
>>> java.lang.NoClassDefFoundError:
>>> org/jboss/seam/exception/control/ExceptionToCatch
>>>         at
>>> org.jboss.seam.faces.exception.CatchExceptionHandler.handle(CatchExceptionHandler.java:53)
>>>         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
>>>         at
>>> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
>>>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)
>>>         at
>>> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
>>>         at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
>>>         at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
>>>         at
>>> org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
>>>         at
>>> org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
>>>         at
>>> org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
>>>         at
>>> org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
>>>         at
>>> org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
>>>         at
>>> org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359)
>>>         at
>>> org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275)
>>>         at
>>> org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
>>>         at
>>> org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
>>>         at
>>> org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344)
>>>         at
>>> org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272)
>>>         at
>>> org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
>>>         at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
>>>         at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
>>>         at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
>>>         at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>>>         at
>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
>>>         at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
>>>         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
>>>         at
>>> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
>>>         at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
>>>         at
>>> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
>>>         at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
>>>         at
>>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
>>>         at
>>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
>>>         at
>>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
>>>         at
>>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
>>>         at
>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>>>         at
>>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>>>         at
>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>>>         at
>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>>>         at
>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>>>         at
>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>>>         at
>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>>>         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>>>         at
>>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>>>         at
>>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>>>         at java.lang.Thread.run(Thread.java:662)
>>>
>>> any ideas ?
>>> --
>>> Sebastian E. Ovide
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Sebastian E. Ovide
>>
>>
>>
>>
>> _______________________________________________
>> seam-dev mailing list
>>
>> seam-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/seam-dev
>>
>>
>
>
> --
> Dan Allen
> Principal Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
>
> http://www.google.com/profiles/dan.j.allen#about
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
>
>


-- 
Sebastian E. Ovide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20110331/72da380e/attachment-0001.html 


More information about the seam-dev mailing list