0
Put this snippet in your pom.xml:
<build>
<finalName>NomeProjeto</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
Then go to the folder webapp
create a folder named WEB-INF
and create the file web.xml
inside that briefcase.
Done this right click on your project, go on Maven
> Update Project
> OK
Edit the question with your Pom.xml
– Giancarlo Abel Giulian
I’m trying to add the code with Pom.xml, but only the first line appears, how do I add it all? When I asked to format, I clicked {} asks to "add the code here", but only the first line appears.
– JGSILVA
advanced editing help » http://answall.com/editing-help - and much better than a screenshot of the bug, is you paste the error text here; it’s easier to read and Google thanks you too
– brasofilo