continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From murali mohan <muralih...@gmail.com>
Subject Re: Continuum 1.3 NoClassDefFoundError
Date Wed, 11 Aug 2010 10:43:14 GMT
1) Compared the files in the lib folder of the binary download of 1.3.6 and
the one generated from source. They are the same - Number of files, the
names and the versions are the same.

2) The source of the createAdmin_jsp.java does not have any reference to a
webwork class, instead it refers to "org.apache.struts2.views.jsp.I18nTag".
Don't know anything about these classes and what is happening there.
Highlighting to see if this is the problem.

3) To be sure, cleaned the local maven repository or any exitsing redback
libraries and did a build again to generate continuum-webapp-1.3.6.war from
source. This time I could login and register the admin user (which was not
possible last time). After a second restart, I am again facing the same
error in logs, but a different stack trace (pasted below) and an "Internal
Error" message in the UI. In this case too, I do not see any reference to
the class "com/opensymphony/webwork/views/jsp/I18nTag". Instead, I see
"org.apache.struts2.views.jsp.I18nTag" references.

Any ideas team?

StackTrace
========

java.lang.NoClassDefFoundError: com/opensymphony/webwork/views/jsp/I18nTag
        at
org.apache.jsp.WEB_002dINF.jsp.redback.login_jsp._jspx_meth_ww_005fi18n_005f0(login_jsp.java:127)
        at
org.apache.jsp.WEB_002dINF.jsp.redback.login_jsp._jspService(login_jsp.java:106)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
        at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at
org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)
        at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
        at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
        at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
        at
org.codehaus.plexus.redback.struts2.interceptor.SecureActionInterceptor.intercept(SecureActionInterceptor.java:111)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
        at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
        at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
        at
org.codehaus.plexus.redback.struts2.interceptor.PolicyEnforcementInterceptor.intercept(PolicyEnforcementInterceptor.java:115)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
        at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
        at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)



thanks,
Murali.

On Tue, Aug 10, 2010 at 2:34 PM, Brett Porter <brett@apache.org> wrote:

> did you possibly get a corrupted webwork jar download? it might be worth
> comparing the lib directory with that of a binary 1.3.6 download.
>
> On 10/08/2010, at 9:12 PM, murali mohan wrote:
>
> > Hello,
> >
> > I was trying to build continuum 1.3.6 from source. Checked out the
> Project
> > from the SVN tag for 1.3.6 and did a "mvn clean package" to generated the
> > continuum-webapp-1.3.6.war. Deployed this on Tomcat after following all
> the
> > necessary steps like including extra jars in common/lib etc.
> >
> > In the continuum.log, I am getting the error whose stack trace is pasted
> > below. Please help.
> >
> > 2010-08-10 11:49:15,631 [http-8040-Processor25] ERROR
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/continuum].[default]
> > - Servlet.service() for servlet default threw exception
> > java.lang.NoClassDefFoundError:
> com/opensymphony/webwork/views/jsp/I18nTag
> >        at
> >
> org.apache.jsp.WEB_002dINF.jsp.redback.admin.createAdmin_jsp._jspx_meth_ww_005fi18n_005f0(createAdmin_jsp.java:91)
> >        at
> >
> org.apache.jsp.WEB_002dINF.jsp.redback.admin.createAdmin_jsp._jspService(createAdmin_jsp.java:70)
> >        at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >        at
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
> >        at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
> >        at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >        at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> >        at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> >        at
> >
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
> >        at
> >
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
> >        at
> >
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
> >        at
> >
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
> >        at
> >
> org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)
> >        at
> >
> org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
> >        at
> >
> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
> >        at
> >
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> >        at
> >
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
> >        at
> >
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
> >        at
> >
> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
> >        at
> >
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> >        at
> >
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
> >        at
> >
> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> >        at
> >
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
> >        at
> >
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:184)
> >        at
> >
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> >        at
> >
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
> >        at
> >
> com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> >        at
> >
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> >
> >
> >
> > thanks,
> > Murali.
>
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message