The problem is in the version of httpclient (commons-httpclient 2.0-rc2) shipped with cactus 1.5-rc1. It seems they have compiled it with JDK 1.4.
You can replace it with commons-httpclient 2.0-rc1 for example. See http://tinyurl.com/ufsx for the full story. Thanks -Vincent > -----Original Message----- > From: Siamack [mailto:[EMAIL PROTECTED] > Sent: 10 November 2003 21:24 > To: [EMAIL PROTECTED] > Subject: A problem > > Hello Everyone: > I am running Websphere Application Studio 5.1 with cactus plugin. When I > try to run my tests, I get the following errors: > > java.lang.NoSuchMethodError: java.lang.StringBuffer: method > append(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer; not found > at org.apache.commons.httpclient.HttpState.toString(HttpState.java:634) > at java.lang.String.valueOf(String.java:2466) > at java.lang.StringBuffer.append(StringBuffer.java:387) > . > . > . > > Anyone has faced a similar problem? As fas as I know method append > (StringBuffer) has been introduced in JDK1.4 and does not exist earlier > JDK. Is that a problem? I would appreciate your replies in advance. > > regards, > > > > --------------------------------- > Post your free ad now! Yahoo! Canada Personals --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
