You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Ro...@youts.com on 2001/03/15 09:00:22 UTC

Requested Action not found

Hi together

My System:
JDK1.3
TDK tdk-1.1a11
NT 2000

My Problem:

I created a project: newapp.bat eDesk
and then some Screens, ...
e.g: tdk\webapps\eDesk\templates\screens\GemeindeSuche.vm
Works fine.
Hi together

If I try to execute an Action:
http://127.0.0.1:8080/eDesk/servlet/eDesk/template/GemeindeSuche.vm?action=LoginCitizen

I get the error:

java.lang.ClassNotFoundException: 

        Requested Action not found: LoginCitizen
        Turbine looked in the following modules.packages path: 
        [org.ruf.eDesk.modules, org.apache.turbine.modules]

        at 
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:172)
        at 
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:124)
 
The class is in:
tdk\webapps\eDesk\WEB-INF\classes\org\ruf\eDesk\modules\actions\LoginCitizen.class

I changed in the config-file: 
tdk\webapps\eDesk\WEB-INF\conf\TurbineResources.properties

module.packages=org.ruf.eDesk.modules

The class is also in the classpath:
E:\Test\tdk\bin>java org.ruf.eDesk.modules.actions.LoginCitizen
gets:   Exception in thread "main" java.lang.NoSuchMethodError: main
Thats normal because it has no main. But class was found...

What i'm doing wrong?
Exist there a working example where I can have a look doing right?

Greets
Roland Fehr


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org