Announcement Announcement Module
Collapse
No announcement yet.
Spring MVC portlet development problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring MVC portlet development problem

    I keep getting the following error while trying to deploy my helloWorld portlet:
    javax.portlet.UnavailableException: The portlet "helloWorld" is not available. The portlet class org.springframework.web.portlet.DispatcherPortlet does not implement the default constructor.

    I am following a tutorial in the Portlets in Action book. I am very new to Spring so any help is appreciated. I have been trying to solve this problem for a pretty long time now. Using Spring 3 and Web Logic Portal.

    Thanks in advance!

  • #2
    I'm newbie too... that's which I have in my portlet.xml file:

    Code:
    	<portlet>
    		<portlet-name>myPortlet</portlet-name>
    		<portlet-class>com.indra.vodafone.fwk.app.portlets.spring.ext.FwkDispatcherPortlet</portlet-class>
    		<init-param>
    			<name>contextConfigLocation</name>
    			<value>/portlets/example/myPortlet.xml</value>
    		</init-param>
    		<supports>
    			<mime-type>text/html</mime-type>
    			<portlet-mode>view</portlet-mode>
    		</supports>
    		<portlet-info>
    			<title>myPortlet</title>
    		</portlet-info>
    	</portlet>
    good luck!

    Comment

    Working...
    X