George,

I'm able to build trunk no problem. JspException is in my maven2 repo in servlet-api-2.3.jar

esm:~/.m2/repository$ pwd
/Users/esm/.m2/repository
esm:~/.m2/repository$ jar -tf javax/servlet/servlet-api/2.3/servlet-api-2.3.jar|grep JspException
javax/servlet/jsp/JspException.class
esm:~/.m2/repository$

Are you using the correct servlet-api jar?

George Lindholm (JIRA) wrote:
Will no compile against servlet-api 2.3, nor servlet-api 2.5 at` the same time
------------------------------------------------------------------------------

                 Key: PLUTO-285
                 URL: https://issues.apache.org/jira/browse/PLUTO-285
             Project: Pluto
          Issue Type: Bug
          Components: build system
    Affects Versions: 1.1.1
            Reporter: George Lindholm


Current subversion source checked out.

With the default servlet of 2.3 I get:

  [INFO] [compiler:compile]
Compiling 8 source files to D:\DaS\DJ\work-build\pluto\pluto-taglib\target\class
es
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

D:\DaS\DJ\work-build\pluto\pluto-taglib\src\main\java\org\apache\pluto\tags\el\P
aramTag.java:[28,46] cannot find symbol
symbol  : method getExpressionEvaluator()
location: class javax.servlet.jsp.PageContext

D:\DaS\DJ\work-build\pluto\pluto-taglib\src\main\java\org\apache\pluto\tags\el\P
aramTag.java:[34,31] cannot find symbol
symbol  : method getVariableResolver()
location: class javax.servlet.jsp.PageContext

So I change the version to 2,5, but then I get:
....
 
D:\DaS\DJ\work-build\pluto\pluto-portal-driver\src\main\java\org\apache\pluto\dr
iver\tags\PortletRenderTag.java:[69,26] cannot find symbol
symbol  : class JspException
location: class org.apache.pluto.driver.tags.PortletRenderTag

D:\DaS\DJ\work-build\pluto\pluto-portal-driver\src\main\java\org\apache\pluto\dr
iver\tags\PortletRenderTag.java:[74,15] cannot find symbol
symbol  : variable SKIP_BODY
location: class org.apache.pluto.driver.tags.PortletRenderTag


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

So then I switch back to the 2.3 servlet everything finally compiles:



Reply via email to