This is a very basic level of Struts 2 Configuration by using Maven and import on eclipse IDE, please follow the given steps ..

Prerequisites

First of all setup development environment using above  prerequisites.

Copy and paste below command line syntax and press enter

[code lang=”text”] mvn archetype:generate -B -DgroupId=com.javavapor.struts2demo -DartifactId=Struts2MavenDemoProject -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-convention -DarchetypeVersion=2.3.20 -DremoteRepositories=http://struts.apache.org [/code]

After execution your screen looks like as

struts-maven-eclipse-commandline-javavapor

Command line display

Now import Struts2MavenDemoProject folder by using eclipse under “maven existing project” option and run on server, then  will get result like below snap

Project execution on Eclipse

Project execution on Eclipse

You can configure your development environment within 15 minutes.