• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Problems developing a new Hello Word�s Portlet for JetSpeed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Why is the word "abbreviation" so long? And this ad is so short?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic