• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic