Note that there are some explanatory texts on larger screens.

plurals
  1. POMaven dependencies not being added to WEB-INF/lib
    primarykey
    data
    text
    <p>Fairly new to Spring, Maven, Tomcat and all, I am trying to set up a Spring Web Project in Eclipse, using Maven then deploy the project to Tomcat. </p> <p>I am following this tutorial, suggested by a SOF member : <a href="http://www.beingjavaguys.com/2013/08/spring-maven-web-application-in-eclipse.html" rel="nofollow noreferrer">http://www.beingjavaguys.com/2013/08/spring-maven-web-application-in-eclipse.html</a></p> <p>I am having troubles to have Maven add the dependencies specified in <code>pom.xml</code>, to Tomcat's <code>WEB-INF/lib</code>. I have scrupulously followed the steps, but in the part "Run Spring Maven project in eclipse", I do not get the same deployment assembly screenshot. This is what I get :</p> <p><img src="https://i.stack.imgur.com/lbY2P.png" alt="Web deployment assembly in Eclipse, after running &lt;code&gt;mvn eclipse:eclipse -Dwtpversion=2.0&lt;/code&gt;"> </p> <p>I checked in Eclipse that WTP is here, and it is (Help -> Install new Software -> Link "what is installed?") However the version I see for m2e-wtp is 1.0.**. SO I tried to run the <code>mvn eclipse:eclipse -Dwtpversion=1.0</code> command (using version 1.0 instead of 2.0) but still the same problem... </p> <p>Anybody has had the same problem ? I have seen similar questions, tried what was suggested but nothing worked for me unfortunately. For example I went in Web Deployment Assembly and clicked <code>Add</code> -> <code>Java Build Path Entries</code> but I don't see a <code>Maven Dependencies</code> checkbox : what I see is a list of entries of the form <code>M2_REPO/.../...</code> </p> <p>Happy Holidays everyone, and thanks in advance for any help on this Myna</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload