You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by pa...@bt.com on 2001/11/07 11:38:55 UTC

Actions not found - Help -

Hello,

I have a problem linking to an action.  This originally worked, and after I
moved the application and rebuilt all the screens still work but every
action returns an error - a not found exception.

The classes correctly compiled and I can see them in the appropriate
directory.

e.g. java/org/myapp/intra/modules/actions/ChangeCategory.class

(The ChangeCategory class is public and the package is
org.myapp.intra.modules.actions)

In the vm file I have:
<form method="post"
action="$link.setPage("document,DocumentIndex.vm").setAction("ChangeCategory
")">
the url formed appears correct.

In the turbine log the following exception occurs


Requested Action not found: ChangeCategory
	Turbine looked in the following modules.packages path: 
	[org.myapp.intra.modules, org.apache.turbine.flux.modules,
org.apache.turbine.modules]

[Wed Nov 07 10:28:56 GMT 2001] -- ERROR -- 
	Exception:  java.lang.ClassNotFoundException: 

	Requested Action not found: ChangeCategory
	Turbine looked in the following modules.packages path: 
	[org.myapp.intra.modules, org.apache.turbine.flux.modules,
org.apache.turbine.modules]

	Stack Trace follows:
	java.lang.ClassNotFoundException: 

	Requested Action not found: ChangeCategory
	Turbine looked in the following modules.packages path: 
	[org.myapp.intra.modules, org.apache.turbine.flux.modules,
org.apache.turbine.modules]
..
I am lost as to what is missing and why turbine can not find the action
classes.

Can anyone help?

Paul

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>