Import .view.The web4j.jar binary is included in the example applications (and in the tutorial) at this location:
+- org.hamcrest:hamcrest-library:jar:1.3:test | +- org.apiguardian:apiguardian-api:jar:1.0.0:test | +- ch.qos.logback:logback-core:jar:1.2.3:compile +- ch.qos.logback:logback-classic:jar:1.2.3:compile +- org.springframework:spring-test:jar:5.1.0.RELEASE:compile | \- org.springframework:spring-web:jar:5.1.0.RELEASE:compile | +- org.springframework:spring-expression:jar:5.1.0.RELEASE:compile | | \- org.springframework:spring-jcl:jar:5.1.0.RELEASE:compile | +- org.springframework:spring-core:jar:5.1.0.RELEASE:compile | +- org.springframework:spring-context:jar:5.1.0.RELEASE:compile | +- org.springframework:spring-beans:jar:5.1.0.RELEASE:compile | +- org.springframework:spring-aop:jar:5.1.0.RELEASE:compile +- org.springframework:spring-webmvc:jar:5.1.0.RELEASE:compile maven-dependency-plugin:2.8:tree (default-cli) java-web-project. project created from Old (1.x) Archetype in dir: D:\java-web-project Parameter: artifactId, Value: java-web-project Using following parameters for creating project from Old (1.x) Archetype: maven-archetype-webapp:1.0 maven-archetype-plugin:3.0.1:generate (default-cli) standalone-pom. <<< maven-archetype-plugin:3.0.1:generate (default-cli) < generate-sources standalone-pom <<< > maven-archetype-plugin:3.0.1:generate (default-cli) > generate-sources standalone-pom >
Create a web project from Maven TemplateĬreate a web project from Maven template maven-archetype-webappĭ:\>mvn archetype:generate -DgroupId= -DartifactId=java-web-project -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false At the end, we will create a Spring MVC web application, display a current date on a JSP page.ġ. In this tutorial, we will show you how to use Maven to manage a Java web project.