"David Wynter" <[EMAIL PROTECTED]> writes:
>Hi,
>I used a subclass of TemplateLink from T2.1 to add the /c/c to the end of my
>path that gets me picked up by Google. (c can be any character).
Hi,
[OT: I didn't ever hear about this. Can you explain a little more? ]
>I switched this to a subclass of TemplateURI to achieve the same effect.
>I use
>"tool.request.link=co.uk.roamware.rwsite.util.template.GoogleTemplateLink"
>in my TR.props
>Here tis;
>public class GoogleTemplateLink extends TemplateURI {
> public void setTemplate(String t) {
> super.setTemplate(t);
> List googleext = new ArrayList();
> googleext.add("r");
> googleext.add("w");
> add(0, googleext);
> }
>}
>But I get this exception.
>Horrible Exception: java.lang.NoSuchMethodError:
>org.apache.turbine.Turbine.getDefaultServerData()Lorg/apache/turbine/util/Se
>rverData;
Ugh. This means that you seem to have compiled your class with the CVS
HEAD of Turbine but deploy on Turbine 2.2. So your class is looking for
a method in Turbine.class with simply isn't there.
Solution: Make sure that the jars that you compile with and the jars that
you deploy with are the same versions.
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire
--- Quote of the week: "It is pointless to tell people anything when
you know that they won't process the message." --- Jonathan Revusky
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]