Create a new Java Project inAD/WSAD and set the JDK to the same of your tapestry project and try a simple StringBuffer.append that matches your inputs. This can eliminate either the JDK or WebSphere/ Tapestry as the culprits.

On Nov 6, 2006, at 11:26 AM, Brooks, Aiyana [CIB-IT] wrote:

I am using WebSphere v5.1.1.
I have the JDK Compiler compliance level set to 1.4.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James
Carman
Sent: Monday, November 06, 2006 10:52 AM
To: Tapestry users
Subject: Re: Need help getting started

I would double check that JDK version again. Tapestry can't cause there
not to be a method in StringBuffer.

On 11/6/06, Brooks, Aiyana [CIB-IT] <[EMAIL PROTECTED]> wrote:
Tapestry v. 4

-----Original Message-----
From: Andreas Andreou [mailto:[EMAIL PROTECTED]
Sent: Monday, November 06, 2006 11:32 AM
To: Tapestry users
Subject: Re: Need help getting started

Which version of Tapestry?

Brooks, Aiyana [CIB-IT] wrote:
Thanks Andy. The app server uses jdk 1.4. Also I am able to
reference StringBuffer from other projects so I know it is available

in the libraries referenced by my workbench. The problem only
arrises when I try to use tapestry.

-----Original Message-----
From: andyhot [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 04, 2006 6:13 AM
To: Tapestry users
Subject: Re: Need help getting started

Brooks, Aiyana [CIB-IT] wrote:

Hi,

I am new to Tapestry and am having some trouble getting the basic
(nothing dynamic) "Hello World" application to run. Whenever I run
the



application I get the following error:

Unable to process client request: Failure enhancing class
org.apache.tapestry.html.BasePage: java.lang.StringBuffer: method
append(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer; not found




Check the app-servers configured jdk...
The method missing was introduced in jdk 1.4


I am using WSAD 5.1 and I have the latest jdk and Tapestry versions

installed. Is there a configuration file that I might be missing?
Can

anyone suggest how to fix this error? Below are the main files
created



for this application.

Thanks and regards,

======
web.xml
======

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd";>
<web-app id="WebApp">
     <display-name>HelloWorld</display-name>
     <servlet>
             <servlet-name>HelloWorld</servlet-name>
             <display-name>ApplicationServlet</display-name>


<servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
             <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet-mapping>
             <servlet-name>HelloWorld</servlet-name>
             <url-pattern>/app</url-pattern>
     </servlet-mapping>
</web-app>

=====
Home.page
=====

<?xml version="1.0"?>
<!DOCTYPE page-specification PUBLIC
     "-//Apache Software Foundation//Tapestry Specification
4.0//EN"
     "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"; >

     <page-specification>
     </page-specification>

=====
application.xml
=====

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE application PUBLIC

"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
"http://java.sun.com/dtd/application_1_3.dtd";>
<application id="Application_ID" >
     <display-name>HelloWorldEAR</display-name>
     <module id="WebModule_1162501725198">
             <web>
                     <web-uri>HelloWorld.war</web-uri>
                     <context-root>HelloWorld</context-root>
             </web>
     </module>
</application>
     <page-specification>
     </page-specification>

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







--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer Open Source / J2EE Consulting


--------------------------------------------------------------------
- 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]





--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer Open Source / J2EE Consulting


---------------------------------------------------------------------
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]



---------------------------------------------------------------------
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]



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

Reply via email to