OK then perhaps your Struts library was compiled with JDK 1.4. That's
probably it, take a look at the stack trace again:

javax.servlet.jsp.JspException: java.lang.StringBuffer:
method append (Ljava/lang/StringBuffer;) Ljava/lang/StringBuffer; not found
        at 
org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag.java:164)

Wayne


On 3/10/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote:
> No, I am sure that javax.servlet library is JDK 1.3. It is provided by ibm
> was 5 and we used it to compile it.
>
> -Sanjay
>
>
> On 3/10/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > I suspect that you are using javax.servlet library which was compiled
> > with JDK 1.4.
> >
> > Download the code and recompile with JDK 1.3 if you must use it along
> > with code that targets 1.3.
> >
> > Wayne
> >
> >
> > On 3/10/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote:
> > > Hi All,
> > >
> > > I have an application that run's on  JDK 1.3.
> > >
> > > In the POM's I have the following setting
> > >
> > >
> > > <plugin>
> > >
> > > <groupId>org.apache.maven.plugins</groupId>
> > >
> > > <artifactId>maven-compiler-plugin</artifactId>
> > >
> > > <configuration>
> > >
> > > <compilerVersion>1.3</compilerVersion>
> > >
> > > <target>1.3</target>
> > >
> > > <showDeprecation>true</showDeprecation>
> > >
> > > <showWarnings>true</showWarnings>
> > >
> > > </configuration>
> > >
> > > <inherited>true</inherited>
> > >
> > > </plugin>
> > >
> > > Is there anything else I need to do to make it work with JDK 1.3?  If
> > not,
> > > why will I get an error,
> > >
> > > [3/10/06 11:24:10:538 PST] 65795dd9 WebGroup      E SRVE0026E: [Servlet
> > > Error]-[java.lang.StringBuffer: method append&#40;
> > > Ljava/lang/StringBuffer&#59;&#41;Ljava/lang/StringBuffer&#59; not
> > found]:
> > > javax.servlet.jsp.JspException: java.lang.String
> > > Buffer: method append(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer;
> > not
> > > found
> > >        at org.apache.struts.taglib.template.InsertTag.doEndTag(
> > > InsertTag.java:164)
> > >        at org.apache.jsp._index._jspService(_index.java:344)
> > >        at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(
> > > HttpJspBase.java:89)
> > >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >
> > > StringBuffer.append(StringBuffer) is JDK 1.4.
> > >
> > > Please advice,
> > >
> > > Sanjay
> > >
> > >
> >
>
>

Reply via email to