[
https://issues.apache.org/jira/browse/OFBIZ-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493942#comment-13493942
]
Jacques Le Roux commented on OFBIZ-5069:
----------------------------------------
Thanks Taher,
Your patch is committed at revision 1407427. Before closing this issues, what
are the others errors you are referrring to? I was able to run under Eclipse
w/out any issues.
> class path incorrect and other errors
> -------------------------------------
>
> Key: OFBIZ-5069
> URL: https://issues.apache.org/jira/browse/OFBIZ-5069
> Project: OFBiz
> Issue Type: Bug
> Components: ALL COMPONENTS
> Affects Versions: Release Branch 12.04
> Environment: JDK - Java version "1.6.0_31"
> Reporter: Taher Alkhateeb
> Priority: Critical
> Labels: classpath, startup, tomcat
> Attachments: classpath.patch
>
>
> I downloaded the latest release of branch 12.04 (rev 1407413) and did my
> usual work of loading the project through eclipse. Once the project was built
> and loaded I was faced with classpath errors preventing me from even starting
> the framework.
> There were exactly 5 errors relating to the name of tomcat libraries. I list
> below the errors and definitions in .classpath in the project. I noticed the
> difference is a dot instead of a dash in the entries against the actual
> files. However, when I renamed them, I get more errors.
> THE ERRORS AS SHOWN IN ECLIPSE:
> Description Resource Path Location Type
> Project 'apache-ofbiz-12.04' is missing required library:
> 'framework/catalina/lib/tomcat-7.0.32.catalina-tribes.jar'
> apache-ofbiz-12.04 Build path Build Path Problem
> Project 'apache-ofbiz-12.04' is missing required library:
> 'framework/catalina/lib/tomcat-7.0.32.catalina-ha.jar'
> apache-ofbiz-12.04 Build path Build Path Problem
> Project 'apache-ofbiz-12.04' is missing required library:
> 'framework/catalina/lib/tomcat-7.0.32.tomcat-embed-core.jar'
> apache-ofbiz-12.04 Build path Build Path Problem
> Project 'apache-ofbiz-12.04' is missing required library:
> 'framework/catalina/lib/tomcat-7.0.32.tomcat-embed-jasper.jar'
> apache-ofbiz-12.04 Build path Build Path Problem
> Project 'apache-ofbiz-12.04' is missing required library:
> 'framework/catalina/lib/tomcat-7.0.32.tomcat-embed-logging-log4j.jar'
> apache-ofbiz-12.04 Build path Build Path Problem
> The project cannot be built until build path errors are resolved
> apache-ofbiz-12.04 Unknown Java Problem
> THE ENTRIES IN ".classpath" :
> <classpathentry kind="lib"
> path="framework/catalina/lib/tomcat-7.0.32.catalina-ha.jar"/>
> <classpathentry kind="lib"
> path="framework/catalina/lib/tomcat-7.0.32.catalina-tribes.jar"/>
> <classpathentry kind="lib"
> path="framework/catalina/lib/tomcat-7.0.32.tomcat-embed-core.jar"/>
> <classpathentry kind="lib"
> path="framework/catalina/lib/tomcat-7.0.32.tomcat-embed-jasper.jar"/>
> <classpathentry kind="lib"
> path="framework/catalina/lib/tomcat-7.0.32.tomcat-embed-logging-log4j.jar"/>
> ONCE ERRORS FIXED, ADDITIONAL ERRORS BELOW:
> Description Resource Path Location Type
> The method getContextPath() is undefined for the type ServletContext
> ControlServlet.java
> /apache-ofbiz-12.04/framework/webapp/src/org/ofbiz/webapp/control line
> 74 Java Problem
> The method getContextPath() is undefined for the type ServletContext
> CatalogUrlServlet.java
> /apache-ofbiz-12.04/applications/product/src/org/ofbiz/product/category line
> 159 Java Problem
> The method getContextPath() is undefined for the type ServletContext
> CatalogUrlFilter.java
> /apache-ofbiz-12.04/applications/product/src/org/ofbiz/product/category line
> 345 Java Problem
> The method getContextPath() is undefined for the type ServletContext
> CatalogUrlFilter.java
> /apache-ofbiz-12.04/applications/product/src/org/ofbiz/product/category line
> 420 Java Problem
> The method getContextPath() is undefined for the type ServletContext
> ContentUrlFilter.java
> /apache-ofbiz-12.04/applications/content/src/org/ofbiz/content/content line
> 153 Java Problem
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira