[jboss-user] [JBoss Portal] - Re: Unable to add portlets with 2.7.0

rutfield do-not-reply at jboss.com
Mon Nov 3 17:48:41 EST 2008


More information (reproduced same issue on a different machine) below:

Do I need to upgrade Jasper? Rich Faces?
Any chance of sterring me in the right direction?
CR

All is fine until....
22:38:31,226 ERROR [STDERR] Nov 3, 2008 10:38:31 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/usr/local/jboss/server/default/tmp/deploy/tmp28116portal-admin.sar-contents/portal-admin-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
22:40:43,255 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 188 in the jsp file: /WEB-INF/jsp/content/portlet_editor.jsp
Type mismatch: cannot convert from Object to PortletInfoInfo
185:    private String getIcon(PortletInfo info)
186:    {
187:       String iconLocation = PortletContentEditorPortlet.DEFAULT_PORTLET_ICON;
188:       PortletInfoInfo portletInfo = info.getAttachment(PortletInfoInfo.class);
189:
190:       if (portletInfo != null)
191:       {


Stacktrace:
        at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
        at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
        at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
        at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186496#4186496

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186496



More information about the jboss-user mailing list