You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by lagrimas negras xxx <la...@gmail.com> on 2009/10/29 18:13:43 UTC

pom error deploying portlet JSR286

This is the error message:

Description    Resource    Path    Location    Type
Web application descriptor must be a valid web.xml    Copy of
Spring-Portlet-JSR286-2.0final prueba final        line 1    Maven Problem
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="
http://java.sun.com/xml/ns/javaee" xmlns:web="
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID"
version="2.5">
  <display-name>PortletPrueba</display-name>
   <servlet>
        <servlet-name>TestPortlet</servlet-name>
        <servlet-class>org.apache.pluto.core.PortletServlet</servlet-class>
        <init-param>
          <param-name>portlet-name</param-name>
          <param-value>TestPortlet</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>TestPortlet</servlet-name>
        <url-pattern>/PlutoInvoker/TestPortlet</url-pattern>
    </servlet-mapping>
</web-app>







dog somebody send me to web.xml been worth of example?