[jira] [Created] (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] [Created] (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)
Shi Jinghai created OFBIZ-5369:
----------------------------------

             Summary: 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


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)