3
I’m trying to follow a workbook but when I do the Access project properties procedure and find the Project Facets side menu appears the window in the attachment and then I mark the altenativa as shown in the Javaserver Faces figure
the eclipse guides to click on the highlighted area with the name of
further Configuration available
what I can understand is that he wants me to add the jsf library manually.
this is not the common procedure.
I’ve even added the library by Maven himself
what only I want is to mark the option Javaserver Faces is OK following the workbook.
how do I solve this problem?
the project I’m creating is a Maven project.
when I run the application even with the problem it generates this message
An error has occurred. See error log for more Details. java.lang.Nullpointerexception
But the focus of the book is the use of Maven? If it is just use the appropriate archetype or put the references in pom.xml. What I think is happening is that you are using a jsf implementation embedded in your project and are not doing an 'update' on your Maven repository.
– Edgar Muniz Berlinck
which archetype would be suitable for a Maven + JSF project?
– wladyband
I don’t know, it depends on a lot. As you are learning I suggest you use Blank and then right-click on the project - Configuration - Add JSF Capabilities (or something like that).
– Edgar Muniz Berlinck
i don’t have this option in my Add JSF eclipse or something like that.
– wladyband
It is difficult to help because the problem is not punctual. Try reading this link: http://www.infobase.com.br/creator-project_jsf-maven-eclipse/
– Edgar Muniz Berlinck
the version of eclipse Luna removed this option, had already seen this site.
– wladyband
take a look here http://www.guj.com.br/26245-problemas-com-maven-jsf
– wladyband
If your intention is to learn, I suggest trying with Netbeans, it has native integration with Maven, and is much more beginner-friendly.
– filipeportes
@wladyband So I suggest you answer your own question and mark as answer.
– Edgar Muniz Berlinck