archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mickael Marrache <Mickael.Marra...@xconnect.net>
Subject java.lang.NoSuchMethodError
Date Tue, 22 Nov 2011 15:36:43 GMT
Hi,

I've deployed Archiva 1.3.5 on Tomcat 6.0.29. I use CentOS as OS. I've followed the installation
guide:


 1.  archiva directory created under tomcat base directory
 2.  war placed in the created directory
 3.  archiva.xml file added in the conf/Catalina/localhost directory
 4.  Content of the archiva.xml file :



<Context path="/archiva"

          docBase="${catalina.home}/archiva/apache-archiva-1.3.5.war">



 <Resource name="jdbc/users" auth="Container" type="javax.sql.DataSource"

           username="sa"

           password=""

           driverClassName="org.apache.derby.jdbc.EmbeddedDriver"

           url="jdbc:derby:${catalina.home}/archiva/database/users;create=true" />



 <Resource name="jdbc/archiva" auth="Container" type="javax.sql.DataSource"

           username="sa"

           password=""

           driverClassName="org.apache.derby.jdbc.EmbeddedDriver"

           url="jdbc:derby:${catalina.home}/archiva/database/archiva;create=true" />



 <Resource name="mail/Session" auth="Container"

            type="javax.mail.Session"

            mail.smtp.host="localhost"/>

 </Context>



5.    Environment variable CATALINA_OPTS modified to CATALINA_OPTS="-Dappserver.home=$CATALINA_HOME
-Dappserver.base=$CATALINA_HOME"

6.    Reboot of computer



I can see under Tomcat manager that Archiva is started but when I access to http://<host>:8080/archiva,
I get the following error :



java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;

        org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCompiler.java:370)

        org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:335)

        org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:429)

        org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)

        org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)

        org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)

        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)

        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)

        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)

        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)

        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

        org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416)

        com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)

        com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

        org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)

        org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)

        org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)





Thanks for your help!




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