You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Taher Alkhateeb (JIRA)" <ji...@apache.org> on 2012/11/09 11:44:12 UTC
[jira] [Created] (OFBIZ-5069) class path incorrect and other errors
Taher Alkhateeb created OFBIZ-5069:
--------------------------------------
Summary: 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
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 6 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"/>
--
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
[jira] [Updated] (OFBIZ-5069) class path incorrect and other errors
Posted by "Taher Alkhateeb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Taher Alkhateeb updated OFBIZ-5069:
-----------------------------------
Description:
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
was:
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"/>
> 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
[jira] [Updated] (OFBIZ-5069) class path incorrect and other errors
Posted by "Taher Alkhateeb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Taher Alkhateeb updated OFBIZ-5069:
-----------------------------------
Attachment: classpath.patch
The attached patch corrects the entries in .classpath however, the problem is still not resolved yet because of additional errors.
> 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"/>
--
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
[jira] [Commented] (OFBIZ-5069) class path incorrect and other
errors
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (OFBIZ-5069) class path incorrect and other
errors
Posted by "Taher Alkhateeb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493953#comment-13493953 ]
Taher Alkhateeb commented on OFBIZ-5069:
----------------------------------------
Hi Jacques,
The errors are already listed above in the description. I show them here again for clarity
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
> 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
[jira] [Closed] (OFBIZ-5069) class path incorrect and other errors
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-5069.
----------------------------------
Assignee: Jacques Le Roux
> 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
> Assignee: Jacques Le Roux
> 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
[jira] [Comment Edited] (OFBIZ-5069) class path incorrect and other
errors
Posted by "Taher Alkhateeb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493928#comment-13493928 ]
Taher Alkhateeb edited comment on OFBIZ-5069 at 11/9/12 11:33 AM:
------------------------------------------------------------------
The attached patch corrects the entries in .classpath however, the problem is still unresolved because of additional errors as shown in description
was (Author: taher):
The attached patch corrects the entries in .classpath however, the problem is still not resolved yet because of additional errors.
> 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
[jira] [Comment Edited] (OFBIZ-5069) class path incorrect and other
errors
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493942#comment-13493942 ]
Jacques Le Roux edited comment on OFBIZ-5069 at 11/9/12 11:35 AM:
------------------------------------------------------------------
== TYPO ==
Thanks Taher,
Your patch is committed at revision 1407427. Before closing this issue, what are the others errors you are referrring to? I was able to run under Eclipse w/out any issues.
was (Author: jacques.le.roux):
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
[jira] [Updated] (OFBIZ-5069) class path incorrect and other errors
Posted by "Taher Alkhateeb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Taher Alkhateeb updated OFBIZ-5069:
-----------------------------------
Description:
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"/>
was:
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 6 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"/>
> 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
>
> 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"/>
--
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