You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "George Lindholm (JIRA)" <ji...@apache.org> on 2007/01/13 07:42:27 UTC

[jira] Created: (PLUTO-285) Will no compile against servlet-api 2.3, nor servlet-api 2.5 at` the same time

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

        

Re: [jira] Created: (PLUTO-285) Will no compile against servlet-api 2.3, nor servlet-api 2.5 at` the same time

Posted by Elliot Metsger <em...@jhu.edu>.
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:
> 
> 
> 

[jira] Resolved: (PLUTO-285) Will no compile against servlet-api 2.3, nor servlet-api 2.5 at` the same time

Posted by "David DeWolf (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PLUTO-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David DeWolf resolved PLUTO-285.
--------------------------------

    Resolution: Cannot Reproduce

I can't duplicate this.  You should be able to simply do:

mvn install.

We're currently dependent on:
        <servlet-api.version>2.3</servlet-api.version>
        <jsp-api.version>2.0</jsp-api.version>

> 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.
-
You can reply to this email to add a comment to the issue online.