why project facets problem arises when importing maven project into eclipse IDE
and how to resolve it.
file>import>maven>existing maven project
rightclick on project>properties>project facets
uncheck java and dynamic web module
rightclick on project>maven>update poject
The best solution is to include plugin in to the POM before importing
Example:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
which makes java 1.8 as facet.
No comments:
Post a Comment