...
- In order to start clean and to ensure there weren't any older versions of rice.jars around, need to wipe out the entire rice folder.
...
4. Run mvn clean install
- Navigate to the project directory and execute the following command: mvn clean install -DskipTests=true
5. Setup IntelliJ Project
1. Launch IntelliJ
2. Under the Quick Start menu click Open Project
...
Info | ||
---|---|---|
| ||
IntelliJ detects various facets if available and will prompt you to automatically create as part of the project configuration. You should accept when prompted or click on the create options when presented. Also once IntelliJ is done with all the processes you need to right click on the main project and go down to the maven menu option and click on "Force Re-import". This is needed the first time you will download the codebase and whenever there are changes made to the pom.xml. |
...
6. Setup Tomcat Configuration
Info | ||
---|---|---|
| ||
Note - The artifact that you will need to mark for deployment will be 'rice-sampleapp:war exploded' and not the sample-app.war. |
...
7. Launch Sample App
Launch the sample app program by running tomcat. In the login prompt enter admin as the username and you should get to the main menu.
...
change the username/pwd to the following
<!-- set some datasource defaults -->
<param name="datasource.username">rice</param>
...