Hi All,

after deploying of portlet there is an error in portlet window (in a tomcat
log are not errors present):
Failed to retrieve Portlet Definition for oneportlet:: OnePortlet

I understand that the portlet.xml contains an error.

My portlet.xml:
<?xml version="1.0" encoding="UTF-8"?>
<portlet-app id="oneportlet"
   xmlns=" http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
   version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:schemaLocation="
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
">
   <portlet id="OnePortlet">
       <portlet-name>OnePortlet</portlet-name>
       <portlet-class>op. OnePortlet</portlet-class>
       <supports>
           <mime-type>text/html</mime-type>
           <portlet-mode>view</portlet-mode>
       </supports>
       <portlet-info>
           <title>One Portlet</title>
       </portlet-info>
   </portlet>
</portlet-app>

web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN"
" http://java.sun.com/dtd/web-app_2_3.dtd";>
<web-app>
   <display-name>OnePortlet</display-name>
   <taglib>
       <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
       <taglib-location>/WEB-INF/tld/c.tld</taglib-location>
   </taglib>
</web-app>

Fragment in default-page.psml:
<fragment id="dp-100" type="portlet" name="oneportlet ::OnePortlet"
decorator="gray-gradient-noborder">
     <property layout="TwoColumns" name="row" value="3" />
     <property layout="TwoColumns" name="column" value="0" />
   </fragment>

What can be wrong?

Reply via email to