Create Java Server Faces Testprojekt: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 25: | Zeile 25: | ||
<artifactId>javax.faces</artifactId> | <artifactId>javax.faces</artifactId> | ||
<version>2.3.2</version> | <version>2.3.2</version> | ||
</dependency> | |||
<!-- https://mvnrepository.com/artifact/javax.enterprise/cdi-api --> | |||
<dependency> | |||
<groupId>javax.enterprise</groupId> | |||
<artifactId>cdi-api</artifactId> | |||
<version>2.0</version> | |||
</dependency> | |||
<!-- https://mvnrepository.com/artifact/org.jboss.weld.servlet/weld-servlet --> | |||
<dependency> | |||
<groupId>org.jboss.weld.servlet</groupId> | |||
<artifactId>weld-servlet</artifactId> | |||
<version>2.4.3.Final</version> | |||
</dependency> | </dependency> | ||
... | ... |
Version vom 15. August 2017, 15:12 Uhr
Noch in Bearbeitung
Eclipse
Source-Pfad ändern:
Properties->Java Build Path
Dependencies aktualisieren:
<project>->Right click->Maven->Update Project
pom.xml
<dependencies> ... <!-- https://mvnrepository.com/artifact/org.glassfish/javax.faces --> <dependency> <groupId>org.glassfish</groupId> <artifactId>javax.faces</artifactId> <version>2.3.2</version> </dependency> <!-- https://mvnrepository.com/artifact/javax.enterprise/cdi-api --> <dependency> <groupId>javax.enterprise</groupId> <artifactId>cdi-api</artifactId> <version>2.0</version> </dependency> <!-- https://mvnrepository.com/artifact/org.jboss.weld.servlet/weld-servlet --> <dependency> <groupId>org.jboss.weld.servlet</groupId> <artifactId>weld-servlet</artifactId> <version>2.4.3.Final</version> </dependency> ... </dependencies>
Links
https://maven.apache.org/plugins/maven-war-plugin/usage.html
https://tomcat.apache.org/tomcat-7.0-doc/appdev/deployment.html
http://www.byteslounge.com/tutorials/how-to-configure-jsf-in-tomcat-example
Zurück zu Java