aspose file tools*
The moose likes Portals and Portlets and the fly likes Liferay Portlet development with Spring: No handler found for request error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Liferay Portlet development with Spring: No handler found for request error" Watch "Liferay Portlet development with Spring: No handler found for request error" New topic
Author

Liferay Portlet development with Spring: No handler found for request error

Christian Esocidae
Greenhorn

Joined: Sep 18, 2009
Posts: 5
Hello,

first of all I am pretty new to portlet development and spring and I am kind a guessing that this is quite a simple problem. But I already spent two days trying to fix it and have still no clue. So I hope you can help me out.

Tools and technology in use:
Netbeans Portal Pack 3
Glassfish 2.1
Liferay Portal Standard Edition 5.2.3
Spring 2.5 Portlet MVC Framework

The Problem:
I am able to build the portlet and deploy it in liferay with the following message "Portlet is temporarily unavailable".

Here is the snippets of the Netbeans console output:


In addition my config files:

portlet.xml



web.xml



applicationContext.xml



MontyBrogan-portlet.xml



Thanks in advance.

Greetings.
Christian
Matthieu Levesque
Greenhorn

Joined: May 22, 2009
Posts: 5
Hi Christian,

I hope you have found a solution to your problem by now. But I'll post my hypothesis.

I think your probleme is in your applicationContext.xml. You're missing your controller initialization.

Here's an example:


Also you could take a look at these examples :
http://books.dzone.com/articles/hello-world-portlet-using-Spring-3-portlet-MVC
http://books.dzone.com/articles/spring-30-portlet-mvc-part-2

Hope this helps,

Matthieu

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Liferay Portlet development with Spring: No handler found for request error