I got this error
VelocityPortlet found action GetNumber context
org.apache.velocity.VelocityContext@76458f
Exception: java.lang.ClassNotFoundException:
Requested Action not found: GetNumber
Turbine looked in the following modules.packages path:
[com.working.number, org.apache.jetspeed.modules, org.apache.turbine.modules]
Stack Trace follows:
java.lang.ClassNotFoundException:
Requested Action not found: GetNumber
Turbine looked in the following modules.packages path:
[com.working.number, org.apache.jetspeed.modules, org.apache.turbine.modules]
at org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:174)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at
org.apache.jetspeed.portal.portlets.VelocityPortlet.getContent(VelocityPortlet.java:139)
at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
....
Do you have any idea?
My portlet configuration:
In portlets.xreg file:
<portlet-entry
name="Get" hidden="false"
type="ref" parent="CustomizerVelocity"
application="false">
<meta-info>
<title>GetNumber</title>
<description>Portlet Example</description>
</meta-info>
<parameter
name="template"
value="getnumber"
hidden="false"/>
<parameter
name="action"
value="GetNumber"
hidden="false"/>
<parameter
name="text"
value=""
hidden="false"/>
<media-type ref="html"/>
</portlet-entry>
GetNumber.class is put under
WEB-INF\classes\com\working\number directory
AND
module.packages=com.working.number is added to the TurbineResources.properties file
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>