• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Christian Esocidae
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic