Are you positive the two javax.servlet dependencies are the right versions?
These sound like API changes ie you are specifying JSP 2.0 but the code expects JSP 1.2, etc. Wayne On 4/19/06, A S Praj <[EMAIL PROTECTED]> wrote: > I have downloaded the source freemarker 2.3.6 and trying to compile Using > Maven 2.0.4 > > The Dependencies I have added are > > dependency - > groupId - ant > artifactId - ant > version - 1.6.5 > > dependency - > groupId - javax.servlet > artifactId - jsp-api > version - 2.0 > > dependency - > groupId - javax.servlet > artifactId - servlet-api > version - 2.4 > > dependency - > groupId - jaxen > artifactId - jaxen > version - 1.1-beta-8 > > dependency - > groupId - jdom > artifactId - jdom > version - 1.0b8 > > dependency - > groupId - jython > artifactId - jython > version - 2.1 > > dependency - > groupId - junit > artifactId - junit > version - 3.8.1 > > dependency - > groupId - log4j > artifactId - log4j > version - 1.2.13 > > dependency - > groupId - logkit > artifactId - logkit > version - 2.0 > > dependency - > groupId - rhino > artifactId - rhino > version - 1.5R4.1 > > am getting the following error. can anyone please throw some light on to it. > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > C:\Repository\freemarker- > 2.3.6\src\freemarker\ext\jsp\FreeMarkerPageContext1.jav > a:[9,0] freemarker.ext.jsp.FreeMarkerPageContext1 is not abstract and does > not o > verride abstract method include(java.lang.String,boolean) in > javax.servlet.jsp.P > ageContext > > C:\Repository\freemarker- > 2.3.6\src\freemarker\testcase\servlets\TestJspTaglibs.j > ava:[270,25] freemarker.testcase.servlets.TestJspTaglibs.MockRequest is not > abst > ract and does not override abstract method getLocalPort() in > javax.servlet.Servl > etRequest > > C:\Repository\freemarker- > 2.3.6\src\freemarker\testcase\servlets\TestJspTaglibs.j > ava:[486,25] freemarker.testcase.servlets.TestJspTaglibs.MockResponse is not > abs > tract and does not override abstract method setCharacterEncoding( > java.lang.Strin > g) in javax.servlet.ServletResponse > > > Thanks in advance > > A.S.P. Raj > >
