Install new eclipse and tomcat for chinafy
Installation
Download Eclipse Version: 2018-12 (4.10.0)
Download Tomcat 9.0.16
Download Java 1.8
Create chinafy-java Java project
1. Create new Java project
2. Use java 1.8
3. Update pom.xml for chinafy-java
4. Right click project chinafy-java, go to Properties -> Java Build Path -> Libraries
5. Add Library -> User Library -> Jetty
6. Add the jetty jars
7. Add new source folder
Create chinafy-web Dynamic Web project
1. Create a dynamic web project for chinafy-web
2. Add a new folder for chinafy-web
3. Add a new folder for chinafy-java
4. Configure to maven project
5. Update pom.xml
6. Update deployment assembly
7. Update Java Build Path, add Jetty User libary
8. Add Web App Library
9. Confirm Project Facet settings
Create web server
1. Create a tomcat server
2. Update server overview and module settings
3. Update file context.xml under the server directory
Update Context tag attribute
<Context altDDName="/Users/noteyltd/eclipse-workspace2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/chinafy-web/WEB-INF/knucle-web.xml">
4. Update web project settings
Download Eclipse Version: 2018-12 (4.10.0)
Download Tomcat 9.0.16
Download Java 1.8
Create chinafy-java Java project
1. Create new Java project
2. Use java 1.8
3. Update pom.xml for chinafy-java
4. Right click project chinafy-java, go to Properties -> Java Build Path -> Libraries
5. Add Library -> User Library -> Jetty
6. Add the jetty jars
7. Add new source folder
Create chinafy-web Dynamic Web project
1. Create a dynamic web project for chinafy-web
2. Add a new folder for chinafy-web
4. Configure to maven project
5. Update pom.xml
6. Update deployment assembly
7. Update Java Build Path, add Jetty User libary
8. Add Web App Library
9. Confirm Project Facet settings
1. Create a tomcat server
2. Update server overview and module settings
Update Context tag attribute
<Context altDDName="/Users/noteyltd/eclipse-workspace2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/chinafy-web/WEB-INF/knucle-web.xml">
4. Update web project settings


















Comments