Hello,

I'm running Jetspeed from CVS on Tomcat 3.2.1 with JDK 1.2.2 on a RedHat
7.0 box.

After I added my own portlet, I got the following message when I logged in
to Jetspeed and went to the Customize page:

org.apache.turbine.util.TurbineException: Error rendering Velocity
template: /controls/html/jetspeed.vm: Error rendering Velocity
template: /controls/html/jetspeed.vm: Invocation of method 'getContent' in
class org.apache.jetspeed.portal.portlets.customize.CustomizePortlet threw
exception class java.lang.NoClassDefFoundError

I determined (after modifying the Jetspeed source to print out a stack
trace) that the class it cannot find is
org.apache.jetspeed.portal.portlets.AbstractPortlet

Again, this only happens when I try to add my own portlet to
Jetspeed.  The portlet itself compiles with no errors.  Here is the .xreg
file that adds the portlet:

<?xml version="1.0" encoding="UTF-8"?>
<registry>
    <portlet-entry name="Jetspeed Users"
                   hidden="false" type="instance"
                   application="false">
        <classname>com.newrivernet.portlets.HelloWorldPortlet2</classname>
        <meta-info>
            <title>Jetspeed Users</title>
            <description>list of registered users</description>
        </meta-info>
    </portlet-entry>
</registry>

Any ideas why Jetspeed would have trouble finding the class
AbstractPortlet, and only when I add my own portlet (which extends
AbstractPortlet)?

Walter Brameld
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to