Apache Tomcat/6.0.35 - Error report

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /resources/juliett/jsp/teamsports/controllers/functions.jsp at line 1132

1129:                    while (viewFotoSpecialsByKeyword.fetch(numberOfOpticaMappings))
1130:                    {
1131:                        sportbe.fotospecial.containers.FotoSpecial fotoSpecial = viewFotoSpecialsByKeyword.getFotospecial();
1132:                        sportbe.cms.containers.Article newArticle = fotoSpecial.toArticle(800,450);
1133:                        newArticle.setLanguage_ID(LANG);
1134:                        //newArticle.setLanguageAbbreviation(LanguageAbbreviation); //todo set from id
1135:                        newArticle.setAuthor("optica");


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:412)
	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)

root cause

javax.servlet.ServletException: java.lang.LinkageError: loader constraint violation: when resolving method "sportbe.fotospecial.containers.FotoSpecial.toArticle(II)Lsportbe/cms/containers/Article;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/fr/jupilerproleague/team_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, sportbe/fotospecial/containers/FotoSpecial, have different Class objects for the type /cms/containers/Article; used in the signature
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)
	org.apache.jsp.fr.jupilerproleague.team_jsp._jspService(team_jsp.java:3179)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
	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)

root cause

java.lang.LinkageError: loader constraint violation: when resolving method "sportbe.fotospecial.containers.FotoSpecial.toArticle(II)Lsportbe/cms/containers/Article;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/fr/jupilerproleague/team_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, sportbe/fotospecial/containers/FotoSpecial, have different Class objects for the type /cms/containers/Article; used in the signature
	org.apache.jsp.fr.jupilerproleague.team_jsp.getTeam(team_jsp.java:1150)
	org.apache.jsp.fr.jupilerproleague.team_jsp._jspService(team_jsp.java:2697)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
	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)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.35 logs.


Apache Tomcat/6.0.35

[an error occurred while processing this directive]