This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Problems developing a new Hello Word�s Portlet for JetSpeed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Problems developing a new Hello Word�s Portlet for JetSpeed" Watch "Problems developing a new Hello Word�s Portlet for JetSpeed" New topic
Author

Problems developing a new Hello Word�s Portlet for JetSpeed

Daniel Prado
Greenhorn

Joined: Jul 14, 2004
Posts: 9
I installed the JetSpeed into my computer and it�s work fine. I can view the portal with the example portlets.

I follow the following instruction from Apache to developed a new very simple JSR-168 Portlet Simple Guide.

The new portlet macro appears into the portal, but it show this error Cannot create Portlet instance DanPortlet for Portlet Application danPortlet.

Someone Knows what is the problem? Why don't work fine?

My portlet.xml file:


My web.xml file:


My Portlet Class:



Thanks to all

[ February 09, 2006: Message edited by: Daniel Prado ]
[ February 09, 2006: Message edited by: Daniel Prado ]

Daniel Prado Rodriguez
Daniel Prado
Greenhorn

Joined: Jul 14, 2004
Posts: 9
Hi all,

I found the bug, the problem was that I inserted into WEB-INF/lib the package portlet-api-1.0.jar. Then JetSpeed can't create the portlet.


Cheers
prashant chothani
Greenhorn

Joined: Jun 05, 2006
Posts: 1
Hi,

I was also having same problem .. and it got solved because of your post.
Thanks a lot..
Did u figure out why jetspeed cannt create portlet if portlet api lib is in the applications lib directory??

regards
prashant
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems developing a new Hello Word�s Portlet for JetSpeed
 
Similar Threads
navigation between the pages in different portlets using JSR286
Portal Deployed;but cant see it.
Configure Custom mode(Edit_Defaults) in Vignette Application Portal 7.3
"simplest" portlet
Portal/Portlet Plugins For Eclipse Helios