IntelliJ idea + Jetty deployment Eova
1. Environment
WINDOWS10, IntelliJ IDEA2016.2.4, JDK7, jetty8 2, download Eova1.5 stable version
Download Address: Http://git.oschina.net/eova/eova
3. New Database
The SQL folder in the package contains the database import files Eova and demo. Import the database into MySQL.
4. New Web Project
New Project
Only check the Web application under the Java EE
Enter project name Eovademo, then finish
5. The directory structure of idea is slightly different from eclipse. For students who are accustomed to the Eclipse directory structure, you can modify the directory structure of idea to eclipse style. Methods are as follows
1 Add classes and Lib directory under Web-inf directory
2 Select the project folder, press F4 to set the interface. Select the paths under modules. Modify path to classes directory
3) or set the interface to add Lib directory for Jar Dir.
Click OK to save the copy compressed package file to item 6, copy the files in the Lib folder in the compressed package to Web/web-inf/lib
7, compressed package src files copied to the project src directory
8, compressed package resources under the files copied to the project src directory
9, compressed package WebApp files copied to the Project Web directory
Configuration Work 10. Click the Edit config on the left of the icon in the upper right corner of the IDE ...
11, modify the configuration file src beet.properties eovaconfig log4j needs to be modified. as follows
12, according to the need to modify the log file path
13. Last point: Modify Com.eova.eovamain.java file
14. Click the Run button for your project
Enter 127.0.0.1 access