Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Did the following on this</p> <p>Installed Tomcat 6, as the source and target was 1.5 <a href="http://tomcat.apache.org/whichversion.html" rel="nofollow">http://tomcat.apache.org/whichversion.html</a></p> <p>Added the role manager-gui to tomcat-users.xml</p> <pre><code> &lt;role rolename="manager-gui"/&gt; &lt;user username="tomcat" password="tomcat" roles="manager-gui"/&gt; </code></pre> <p>Then logged in to the <code>http://localhost:8080/manager/</code> successfully deploy the Hello World Servlet, which sadly was of little use to the OP as this code associated with the tutorial was not the finished code. Meh.</p> <p>I suggested going through <a href="http://www.sonatype.com/books/mvnref-book/reference/" rel="nofollow">this mvn tutorial from sonatype</a> as that would build up the Maven skills and knowledge to the point where this first tutorial could be troubleshooted effectively. </p> <p>Also suggested including references to the pom XSD in pom.xml so that tools could validate the content of same as it was developed.</p> <p>From the one of sonatype tutorial pom file we have</p> <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt; &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt; </code></pre> <p>Then in IntelliJ, for example, I can enter <code>&lt; CTRL+SPACE</code> and get a drop down list of valid elements that part of the file. </p>
 

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