-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
42 lines (30 loc) · 1.41 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
README
Getting stuff to work on Mac OS X (Lion)
To run the RnR on localhost:8080
open Run -> Edit Configurations -> Server tab
Plus sign (top left corner)
select Tomcat server -> local
Plus sign (bottom box)
select Build Artifacts, select the exploded web app you created (only one option usually)
Application Server: Tomcat 7.0 (copy/paste the CATALINA_BASE directory you get from typing catalina start in the terminal (remember to type catalina stop afterwards))
Run -> Edit Configurations -> Deployment tab
Plus sign (for Deploy at the server startup box), select artifact, select the exploded web app artifact
~~~
Troubleshooting
If code shows errors due to missing libraries:
import libraries: junit-4.1.0 and spring-framework-web if it's not there
If 'catalina start' in the terminal does not work:
Install Tomcat 7.0.42
have port 8080 open
If there is no artifact:
Project Structure - Artifacts tab
Plus sign, added Web App Exploded, selected main folder
Make sure to add all the libraries to the artifact
If Intellij is throwing errors after these steps:
Delete the project
Check out from VCS on the home IntelliJ page using GIT
Then open the project from the home IntelliJ page
Repeat all above steps as necessary
If you seem to be missing an inordinate number of libraries and the artifact cannot be deployed
Check your version of Java.
Less than 1.7 will cause really funky errors.