Now Right click on /openelis folder and go inside 'Open Module Settings' and follow the given steps:
On the left hand side:
a) select Project-> You will see Project name: openelis
b) select Modules
->click on Add '+' button above the project name 'openelis' with folder icon is showed
->add 'Web' from list of options to 'openelis'
->click on 'Web' the following information you will see:
* In Deployment Descriptors section the path for 'web.xml' is like
* In Web Resource Directories section the web resource directories path is like
and Path Relative to deployment Root is '/' only.
* In Source Roots section at the end the checkbox will be enabled for given source like
Sources tab -> Under the 'Mark as' section it will show directory structure path of openelis of marked Sources|Tests|Resources etc. like
Paths tab -> 'Inherit project compile output path' should be enable so that
Output path: /Users/jaiprak/dock/OpenElis/openelis/out/production/openelis
Test output path: /Users/jaiprak/dock/OpenElis/openelis/out/test/openelis
c) select Artifacts
->click Add '+' button on the top
->select Web Aplication: Exploded
->select From Modules -> select openelis
After that the shown information is like that
Output directory: /Users/jaiprak/dock/OpenElis/openelis/out/artifacts/openelis_Web_exploded
Type: Web Aplication: Exploded
d) select Libraries
-> click Add '+' button-> Java and give library path for test i.e.
-> click Add '+' button-> Java and give library path for app i.e.
-> Give seperate name to them like 'lib' and 'lib2'.
-> We don't need Sources we need only Classes so remove Sources using '-' button at the bottom.
e) select Facets -> Detection -> check Enable framework detection.