0 Replies Latest reply on Oct 11, 2006 5:52 AM by cpage cpage

    error deploying helloworldjsfportlet

    cpage cpage Novice

      hi, i have downloaded the portlet and copy the war in the deploy directory.
      i hava the stack trace :

      11:46:17,978 ERROR [CommandFilter] Exception in command invocation
      org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application
       at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:87)
       at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:108)
       at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternal


      ....

      Caused by: javax.portlet.PortletException: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application
       at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:118)
       at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:164)
       ... 242 more
      Caused by: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application
       at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:87)
       at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:108)
       ... 243 more
      Caused by: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application
       at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
       at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
       at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
       at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
       at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:147)
       at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
       at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
       at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
       at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
       at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
       at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
       at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
       at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
       ... 259 more


      is the portlet well packaged ?
      the web.xml is empty?

      thanks