I am using eclipse Kepler (enterprise edition), Java 8, and M2Eclipse and trying to make a web application. I have already gone to help -> eclipse marketplace and installed these two patches:
Those patches cleared up a lot of my problems, but one remains. I did a maven -> update from within eclipse, it went and updated all my projects except the only web app in my workspace. It gives me a pop up message that says "Version 1.8 of project facet java does not exist"
I opened my project properties and clicked Project Facets. Sure enough, the java facet maximum version is 1.7. So I am wondering why I don't have the same problem on my other projects. I viewed the properties on my other projects and discovered that none of them are using Project Facets at all. I think this might be because I made all of the previous projects using a standard edition of eclipse, not an enterprise edition.
So I guess I have a couple questions. How can I get eclipse to recognize the java facet 1.8? Is there a way I can have my web app not use Project Facets? Should I add Project Facets to my other projects?
Project FacetsRight click on the project properties. Select “Project Facets“, and click “convert to faceted form…” Check “Dynamic Web Module” and “Java“, and specify the value. By default, Eclipse will generate all “web” related files (like WEB-INF, web.
Faceted Project Framework is a mature component of Eclipse Web Tools Platform (WTP) that facilitates treating Eclipse projects as composed of units of functionality (called facets) that can be easily added or removed by users.
Facets define characteristics and requirements for Java™ EE projects and are used as part of the runtime configuration. When you add a facet to a project, that project is configured to perform a certain task, fulfill certain requirements, or have certain characteristics.
Just ran into this issue. My problem was with the tomcat server looking in the wrong place for the JRE. To fix that:
Hope this saves someones time
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With