-
Create in IntelliJ Maven based application based on maven-archetype-webapp Archetype groupId is com.softserverinc.edu artifactId agiledev
-
Modify pom.xml file for Spring MVC with no web.xml configuration
-
Issue command Maven->Reimport
-
Delete web.xml file
-
Create directories
src/main/webapp/WEB-INF/resoures src/main/webapp/WEB-INF/layouts src/main/webapp/WEB-INF/views
-
Put files in above directories. These files are responsibile for web interface
-
Put file logback.xml in resources directory
-
In main directory create packages java.com.softserverinc.edu
-
In edu package create packages config
-
Make directory java as Sources Root
-
In config package create classes WebAppInitializer WebConfig
-
Delete file src/main/webapp/index.jsp
-
Create local server Tomcat
- Add Deployment agiledev:war exploded
- Remove a folder there if it exists
- Add in Before lunch: Build agiledev:war exploded artifact
-
Go to in main menu File->Project Structure->Artifacts. Click right on agiledev:war exploded Double click right on WEB-INF folder to open it than on + sign and choose Directory Content and choose WEB-INF folder. This will include WEB-INF subfolders in war file
In a Database will be user with admin rights, e-mail: admin@ss.com, and password: admin
For creating empty tables, please, issue command from project root dir
mvn dbmaintain:updateDatabase@db-update-create
For creating tables and populating them with some reference data, please, issue command from project root dir
mvn dbmaintain:updateDatabase@db-update-refdata
For dropping a database is a Maven command issued from project root dir
mvn dbmaintain:clearDatabase
For removing the data of all database tables
mvn dbmaintain:cleanDatabase
In case a Tomcat will give you a warning like org.apache.catalina.webresources.Cache.getResource Unable to add the resource ... to the cache because there was insufficient free space
Please, In your $CATALINA_BASE/conf/context.xml add block before
<Resources cachingAllowed="true" cacheMaxSize="100000" />
-
Notifications
You must be signed in to change notification settings - Fork 0
Agile tools for software teams
License
PavlivAndriy/AgileSoftware
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Agile tools for software teams
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published