cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Howard" <coc...@leverageweb.com>
Subject RE: Cocoon Action Problem
Date Tue, 17 Dec 2002 22:28:09 GMT
<snip/>
> Caused by: java.lang.ClassNotFoundException:
<snip/>

> I think it is caused by the following tag in my sitemap.xmap
>   <map:actions>
>     <map:action name="hello-world" class="test.HelloWorldAction"/>
>   </map:actions>
>
> I guess it is unable to find the class test.HelloWorldAction. But
> I already put the test/HelloWorldAction.class inside the
> web-inf/classes directory. I also tried other directories, but all
> generate the same error messages.
>

You are right - it's not finding test.HelloWorldAction

- is the path to the class file
WEB-INF/classes/test/HellowWorldAction.class?
- did you restart cocoon or tomcat/servlet container?
- what do the logs say during startup about "hint hello-world"?

Geoff Howard


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message