struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Maslov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SB-96) java.lang.NoClassDefFoundError: org/apache/tiles/TilesContext when rendering result with Struts 2.0.1
Date Wed, 13 Dec 2006 08:19:57 GMT
    [ http://issues.apache.org/struts/browse/SB-96?page=comments#action_39079 ] 
            
Alexander Maslov commented on SB-96:
------------------------------------

I'm trying to migrate to struts2 with tiles it but have not  succeeded yet (because of tiles
and most probably some other things;)
I'm looking inside tiles-api-2.0-SNAPSHOT.jar and class org/apache/tiles/TilesContext is there.


> java.lang.NoClassDefFoundError: org/apache/tiles/TilesContext when rendering result with
Struts 2.0.1
> -----------------------------------------------------------------------------------------------------
>
>                 Key: SB-96
>                 URL: http://issues.apache.org/struts/browse/SB-96
>             Project: Sandbox
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 2.0.1
>            Reporter: Kim Goings
>         Assigned To: David H. DeWolf
>         Attachments: struts2tiles.war
>
>
> When rendering result with Struts 2.0.1, receive stack trace below. 
> exception
> javax.servlet.ServletException: Filter execution threw an exception
> root cause
> java.lang.NoClassDefFoundError: org/apache/tiles/TilesContext
> 	java.lang.Class.getDeclaredConstructors0(Native Method)
> 	java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
> 	java.lang.Class.getConstructor0(Class.java:2640)
> 	java.lang.Class.newInstance0(Class.java:321)
> 	java.lang.Class.newInstance(Class.java:303)
> 	com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:136)
> 	com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:148)
> 	org.apache.struts2.impl.StrutsObjectFactory.buildResult(StrutsObjectFactory.java:73)
> 	com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:179)
> 	com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:303)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:218)
> 	com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:177)
> 	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
> 	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	com.opensymphony.xwork2.interceptor.ParametersInterceptor.intercept(ParametersInterceptor.java:147)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:80)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:204)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:74)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:120)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:59)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:174)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:115)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	com.opensymphony.xwork2.interceptor.PrepareInterceptor.intercept(PrepareInterceptor.java:115)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:156)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:124)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:180)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
> 	org.apache.struts2.impl.StrutsActionProxy$1.call(StrutsActionProxy.java:27)
> 	org.apache.struts2.impl.StrutsActionProxy$1.call(StrutsActionProxy.java:26)
> 	org.apache.struts2.impl.RequestContextImpl.callInContext(RequestContextImpl.java:152)
> 	org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:25)
> 	org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:330)
> 	org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:256)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message