cancel
Showing results for 
Search instead for 
Did you mean: 

Error On indexpage

mohanakannan_19
Champ in-the-making
Champ in-the-making
hi,
   i successfully Deployed the sample AVM war(alfresco-sample-website.war) and added the press releases but i cannot open the index  page ,it throws below Error


org.apache.jasper.JasperException: The class org.alfresco.web.pr.PressReleaseBean specified in TLD for the function pr:getPressReleases cannot be found: org.alfresco.web.pr.PressReleaseBean
   org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
   org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
   org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:181)
   org.apache.jasper.compiler.Validator$ValidateVisitor$1MapperELVisitor.visit(Validator.java:1360)
   org.apache.jasper.compiler.ELNode$Function.accept(ELNode.java:123)
   org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:194)
   org.apache.jasper.compiler.ELNode$Visitor.visit(ELNode.java:235)
   org.apache.jasper.compiler.ELNode$Root.accept(ELNode.java:54)
   org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:194)
   org.apache.jasper.compiler.Validator$ValidateVisitor.getFunctionMapper(Validator.java:1391)
   org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1109)
   org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:625)
   org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1186)
   org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
   org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
   org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:636)
   org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1186)
   org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
   org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
   org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:636)
   org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1186)
   org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
   org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
   org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:636)
   org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1186)
   org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
   org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
   org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:636)
   org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1186)
   org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
   org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
   org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:406)
   org.apache.jasper.compiler.Node$JspRoot.accept(Node.java:526)
   org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
   org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
   org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2222)
   org.apache.jasper.compiler.Node$Root.accept(Node.java:457)
   org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
   org.apache.jasper.compiler.Validator.validate(Validator.java:1484)
   org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
   org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.alfresco.filter.CacheControlFilter.doFilter(CacheControlFilter.java:183)
1 REPLY 1

eddie
Champ in-the-making
Champ in-the-making
Hi,

Your application can't find the class org.alfresco.web.pr.PressReleaseBean This is a Java class that must be present in the application's class path.

Try searching for "PressReleaseBean" on the forums or the Alfresco wiki.

For examle, there's a similar problem that's been resolved in this forum post: http://forums.alfresco.com/en/viewtopic.php?t=14280

- however, it looks outdated, so YMMV

regards, Søren