Skip to content

Instantly share code, notes, and snippets.

@oshingc
Created December 8, 2014 16:13
Show Gist options
  • Save oshingc/ecf6936340bd17072ac1 to your computer and use it in GitHub Desktop.
Save oshingc/ecf6936340bd17072ac1 to your computer and use it in GitHub Desktop.
Create Project STS
1. Clic derecho>New>Spring>Spring Maven Project>Finalizar.
2. Run Maven Update
3. Add Server
4. Clic derecho>Properties>Project Facets>Clic (agregar) Dynamic Web Module
(Para que aparezca run on server en el proyecto)
5. Build path java alternative jre (elige tu java)
6. edita el pom, verifica tipo de packaging y agrega biuld tag
<packaging>war</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment