Upload
others
View
7
Download
0
Embed Size (px)
Citation preview
Práctica 1
Aplicación creada con arquetipo
Configuración:The m2eclipse plugin doesn't use Eclipse defaults, the m2eclipse pluginderives the settings from the POM. So if you want a Maven project to be configured to use Java 1.6 settingswhen imported under Eclipse, configure the maven-compiler-plugin appropriately, as I alreadysuggested:
<plugin><groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.1</version><configuration> <source>1.6</source><target>1.6</target> </configuration></plugin>
Alt+F5
Index.jsp
web.xml
Ejecutar aplicación en el servidor
Alt+Shift+X,R
Agregar Spring
Group Id Artifact Id Version Scope
junit junit 4.12 test
org.springframework spring-core ${org.springframework.version} compile
org.springframework spring-webmvc
${org.springframework.version} compile
javax.servlet servlet-api 2.5 provided
Tests
Crear la vista