Project problems with Maven - Algaworks

Asked

Viewed 95 times

0

I’m a beginner in Maven, I have some little problems that I can’t solve. Does anyone know how to decipher these errors? I don’t quite understand them.

inserir a descrição da imagem aqui

  • Edit the question with your Pom.xml

  • 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.

  • 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

1 answer

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.