[Java] Environment construction procedure for developing struts 1.3 with Eclipse

The site will change from April 2020, but since the project there is Struts 1.3 (not 2.x: innocent :), I have summarized the procedure for building the environment for studying.

In the world, Spring boot is the mainstream when it comes to Java, but Struts is still active. It may help you, unlucky, who have drifted into a legacy environment, or rather you who are looking for such a site.


--The PC used is Windows --Java 1.5 or higher is already installed (either Oracle JDK or Open JDK can be used, so please install it.) --Git for Windows installed

Advance preparation

Install tomcat


Download Tomcat from below. (* As of March 2020, the latest stable version is 9.0.33) http://tomcat.apache.org

Unzip to any folder

Unzip the downloaded file. This time, I placed it below. C:\public\tool\apache-tomcat-9.0.33

■ Folder structure (first level only)


maven installation


Download maven from below. (* As of March 2020, the latest stable version is 3.6.3)

Maven – Download Apache Maven https://maven.apache.org/download.cgi

Select "apache-maven-3.6.3-bin.zip".

Unzip to any folder

Unzip the downloaded file. This time, I placed it below. C:\public\tool\apache-maven-3.6.3

■ Folder structure (first level only)



This time we will use Git Bash for the terminal, so set PATH to Git Bash.

# System-wide bashrc file
### add start
if [ -f ~/.bashrc_profile ]; then
. ~/.bashrc_profile
### add end
export PATH=$PATH:/c/public/tool/apache-maven-3.6.3/bin 

Eclipse installation


Please download Eclipse from the following. https://www.eclipse.org/downloads/

Subclipse installation

Install the following from the Eclipse Marketplace


Creating a project

Install struts-archetype-blank

Check out struts-archetype-blank

File → New → Other → Check out project from SVN image.png

Generate new repository location image.png

Repository: http://svn.apache.org/repos/asf/struts/maven/trunk/struts-archetype-blank


Install with mvn

cd C:\Users\msg_h\git\struts-sample\struts-archetype-blank
mvn install

Create a new project

Create a new project.

--File-> New-> Java image.png

Addition of archetype image.png

Enter the following.

item value
Archetype Group ID org.apache.struts
Archetype Artifact ID struts-archetype-blank
Archetype version 1.3.5-SNAPSHOT
Repository url http://svn.apache.org/repos/asf/struts/maven/trunk/struts-archetype-blank/


Select the added "struts-archetype-blank".


Enter the following.

item value
Group ID my.struts
Artifact ID struts13-app
version 0.0.1-SNAPSHOT
package my.struts.struts13_app (Autofill)


You have now created a base.

git repository

The source created this time is committed to the following repository. Other sources may also be mixed. .. .. https://github.com/hrk-okd/struts13-app


I used it as a reference below. https://qiita.com/morozumi_h/items/e36faee2c2bebb2fb15d

Recommended Posts

[Java] Environment construction procedure for developing struts 1.3 with Eclipse
Environment construction procedure for using PowerMock with JUnit
Environment construction with Docker for beginners
[Java & SpringBoot] Environment Construction for Mac
Java web application development environment construction with VS Code (struts2)
[Java] Environment construction
Java environment construction
"Rails 6 x MySQL 8" Docker environment construction procedure for sharing with teams
[Ubuntu 18.04] Environment construction for using PyTorch with RTX3090
JAVA + STS (Spring Tool Suite) environment construction procedure
Wordpress local environment construction & development procedure with Docker
[Environment construction] Eclipse installation
Java (eclipse) installation procedure
java development environment construction
Stable development environment construction manual for "Rails6" with "Docker-compose"
Prepare the environment for java11 and javaFx with Ubuntu 18.4
[Environment construction] Build a Java development environment with VS Code!
Java + Spring development environment construction with VirtualBox + Ubuntu (Xfce4)
Preparation for developing with Rails
Java development environment (Mac, Eclipse)
JavaFX environment construction in Java 13
[Docker] Rails 5.2 environment construction with docker
AtCoder Challenge Environment Construction (Java 8)
React environment construction with Docker
Deploying a Java environment with Windows Subsystem for Linux (WSL)
[Procedure 1 for beginners] Ruby on Rails: Construction of development environment
Try developing a containerized Java web application with Eclipse + Codewind
[Java development environment construction] Install OpenJDK 11 (Java 11) on macOS with Homebrew.
[Java] Sample project for developing web applications with Spring Boot
Rails + MySQL environment construction with Docker
Node.js environment construction with Docker Compose
[Eclipse Java] Development environment setting memo
Environment construction for Servlet application development
Prepare Java development environment with Atom
[Unity] Android development environment construction procedure
Procedure for building a Rails application development environment with Docker [Rails, MySQL, Docker]
[OpenCV3.2.0] Eclipse (Java) settings (for Mac)
Enable OpenCV with java8. (For myself)
Build Java development environment (for Mac)
Rails on Docker environment construction procedure
Build jooby development environment with Eclipse
About Eclipse environment (Java, Liberty, JavaScript)
[Environment construction with Docker] Rails 6 & MySQL 8
CentOS8 + Anaconda 4.9.2 + jupyterhub environment construction procedure
[ev3 × Java] leJOS development environment construction (Eclipse on Mac OSX / bluetooth)
"Hello world" for ImageJ with Eclipse
JSP + Eclipse + Jetty development environment construction that even Java beginners can do
Creating a java web application development environment with docker for mac part1
Create a java web application development environment with docker for mac part2
Java runtime environment construction method (Tomcat @ Linux)
Prepare Java development environment with VS Code
GPU environment construction with Docker [October 2020 version]
[Processing x Java] Construction of development environment
Rails environment construction with Docker (personal apocalypse)
Laravel development environment construction with Docker (Mac)
Learn Java with "So What" [For beginners]
Java development environment construction memo on Mac
About the procedure for java to work
Environment construction with Docker (Ubuntu20.04) + Laravel + nginx
Spring Boot + Docker Java development environment construction
Laravel + MySQL + phpMyadmin environment construction with Docker