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]

Reply via email to