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:
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira