[jira] [Updated] (OFBIZ-5369) Change GROOVY_SUPPORT position in .classpath to remove "The method getContextPath() is undefined for the type ServletContext" message in Eclipse.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-5369) Change GROOVY_SUPPORT position in .classpath to remove "The method getContextPath() is undefined for the type ServletContext" message in Eclipse.

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shi Jinghai updated OFBIZ-5369:
-------------------------------

    Attachment: OFBiz-5369-classpath.patch

I moved
     <classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/>
to the bottom of .classpath.

> Change GROOVY_SUPPORT position in .classpath to remove "The method getContextPath() is undefined for the type   ServletContext" message in Eclipse.
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5369
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5369
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Shi Jinghai
>            Priority: Trivial
>         Attachments: OFBiz-5369-classpath.patch
>
>
> While editing some java files with "request.getSession().getServletContext().getContextPath()" in Eclipse, an error message appears:
> "The method getContextPath() is undefined for the type ServletContext".
> This error message can be removed by changing GROOVY_SUPPORT position to be after servlet jar in .classpath



--
This message was sent by Atlassian JIRA
(v6.1#6144)