Hello,
I'm writing this on behalf of a colleague who is using Eclipse for the first time and is having some problems. I sent here a war file of a
JSF 2.2 application that I created with Eclipse on my computer, which uses Windows. She has a Mac, and unfortunately I am not at all familiar with Mac computers. Her message is as follows:
I am compiling with Eclipse a web application which uses JDK7 on a Mac OS 10.9 MacBookPro.
Everything works fine, but Eclipse validation fails with this strange message:
I've read on the web that I should change the
Java preferences. but in Preference System/Java/ I only find onglets for General,Upgrade,Java,Security,
and Advance and not Web like on PC. So I do not know how to change the Java preferences not to complain about this type of variables.
Ignoring those errors, I can try to run my application, but I run into another problem:
"The server does not support version 3.1 of the
J2EE Web module specification."
Here too I found on the web some indications how to go around this which do not work:
right click on my project name/properties/ and change the version of the Dynamic Web Module to a lower version.
Here I get an error message: "Cannot change version of project facet Dynamic Web Module to 2.5."
And it displays the same error message no matter which version I choses other than the latest 3.1 version.
So alternatively I have Run New_Configuration instead. But then here I get this error:
Exception occurred executing command line.
Cannot run program "/Users/fallard/Documents/workspace/simulator-jsf22-25/simulator-jsf22-25/.project" (in directory "/Users/fallard/Documents/workspace/simulator-jsf22-25/simulator-jsf22-25/build"): error=13, Permission denied
And it did not help to change the permissions of the directory tree.
So I am stucked. Some help?
She attached an image file containing error messages from Eclipse which just goes "String method(
String), String method(String), String method(String)....." and so on for many lines. These errors seem to be produced in the xhtml file when an action is invoked with an argument, such as <h:commandButton id="continue" value="Continue" action="#{login.nextPage('option')}" /> This work perfectly correctly on my system.
Does anybody have any ideas?