Is this 2.1dev or 2.0.4? I seem to remember this problem from 2.1dev a month or
so ago but it should now be fixed - if not, let me know. Your choices will be
to update from cvs or to manually fix the jar.


I'd recommend the first but I or someone else can help you with the second if
need be.

The classes must be in org/apache/ - dest was put in by mistake due to a
misconfiguration of the build process.

Geoff

At 11:08 AM 3/31/2003, you wrote:
Hi,

I'm having problems declaring Paginator in my sitemap,
I suspect this has to do with the new build system.

Here is what I have in the sitemap:

<map:transformer name="paginate"
src="org.apache.cocoon.transformation.pagination.Paginator"/>

This gives me:

ERROR   (2003-03-31) 10:44.11:673   [sitemap]
(/cocoon/romayev/) Thread-7/ExtendedComponentSelector:
Could not load class
org.apache.cocoon.transformation.pagination.Paginator
for component named 'paginate' at
file:/C:/dev/jakarta-tomcat-4.1.18/webapps/cocoon/romayev/sitemap.xmap:17:101
java.lang.ClassNotFoundException:
org.apache.cocoon.transformation.pagination.Paginator

I noticed that in cocoon-scratchpad.jar the Paginator,
as well as other classes are in:

dest/org/apache/cocoon/transformation/pagination/Paginator.class
-- notice the dest in the beginning.

I've tried changing the sitemap to:

<map:transformer name="paginate"
src="dest.org.apache.cocoon.transformation.pagination.Paginator"/>

This does not produce the above error, but seems to be
somehow ignoring the sitemap alltogether and displays
a blank page.

Any ideas?

Cheers,
-Alex

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


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



Reply via email to