Hi Wayne,
Any luck on this Issue,...
Regards
A.S.P Raj
On 4/20/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Basically your problem is due to mismatched versions of dependencies
> -- the Freemarker project must have used specific versions of
> libraries, and you are using different versions (newer?) in your pom
> for your build, and so you are having troubles compiling the project
> yourself.
>
> I would email the Freemarker user or dev list and ask them for
> specifics on version numbers for all dependencies, so you can build
> the project yourself.
>
> But given how simple it is to simply use "mvn install:install-file" to
> install a 3rd party binary into your local repo, I think I'd be more
> likely to go that route, unless I was personally involved in the
> development of the Freemarker project...
>
> Wayne
>
> On 4/20/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > It wasn't meant to be a "solution" simply a "suggestion" as a possible
> > next step for debugging your issue... ;-)
> >
> > javax.servlet.jsp.el was new as of hmmm JSP 2.0, IIRC. So versions
> > before 2.0 will not work. Perhaps try 2.1 (??).
> >
> > Does the freemarker 2.3.6 project (or pom file, if it exists) not
> > specify what specific libraries/dependencies are needed to build the
> > project??
> >
> > Wayne
> >
> > On 4/19/06, A S Praj <[EMAIL PROTECTED]> wrote:
> > > Hi wayne,
> > >
> > > Thanks for your soluiton.
> > >
> > > I tried with
> > > dependency -
> > > groupId - javax.servlet
> > > artifactId - jsp-api
> > > version - 1.2
> > >
> > > when I try with that am getting this error... Which dependency I need
> to
> > > include?
> > >
> > > [ERROR] BUILD FAILURE
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Compilation failure
> > >
> > > C:\Repository\freemarker-
> > > 2.3.6\src\freemarker\ext\jsp\FreeMarkerPageContext2.jav
> > > a:[3,28] package javax.servlet.jsp.el does not exist
> > >
> > > C:\Repository\freemarker-
> > > 2.3.6\src\freemarker\ext\jsp\FreeMarkerPageContext2.jav
> > > a:[4,28] package javax.servlet.jsp.el does not exist
> > >
> > > C:\Repository\freemarker-
> > > 2.3.6\src\freemarker\ext\jsp\FreeMarkerPageContext2.jav
> > > a:[22,11] cannot find symbol
> > > symbol : class ExpressionEvaluator
> > > location: class freemarker.ext.jsp.FreeMarkerPageContext2
> > >
> > > C:\Repository\freemarker-
> > > 2.3.6\src\freemarker\ext\jsp\FreeMarkerPageContext2.jav
> > > a:[26,11] cannot find symbol
> > > symbol : class VariableResolver
> > > location: class freemarker.ext.jsp.FreeMarkerPageContext2
> > >
> > > Regards
> > >
> > > A.S.P Raj
> > >
> > >
> > > On 4/20/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > >
> > > > 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
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>