Just trying to get to grips with writing a portlet (just in time for the
portlet api to be changed ;-) Anyway I created and complied the
HelloWorldPortlet example and put the class file in 

<TOMCAT-DIR>/webapps/jetspeed/WEB-INF/classes/sample/HelloWorldPortlet.class

and added this to
<TOMECAT_DIR>/webapps/jetspeed/WEB-INF/conf/jetspeed-config.jcfg 
the following

<portlet-entry type="instance" name="Hello World">
  <classname>sample.HelloWorldPortlet</classname>
</portlet-entry>

However whenever I go to customize my portal I get the following
error (only start and end shown)

java.lang.NoClassDefFoundError: sample/HelloWorldPortlet (wrong
name: HelloWorldPortlet)
.
.
.
.
Error=CustomizePortlet: Could not get Portlet Hello World from
PortletFactory!

I've found a couple of threads on similar topics in the archive but what
I've done seems to be inline with what was suggested in the responses.

Any ideas?

Using tomcat 3.2.1 and jetspeed 1.3a1 war

Paul


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/jetspeed@list.working-dogs.com/>
List Help?:          [EMAIL PROTECTED]

Reply via email to