1. Launch your Eclipse IDE. Navigate to Help → Install New Software.
2. Copy this link http://eclipse-jetty.github.io/update/ in Work with field in Available Software window and hit Enter, you should be able to see jetty plugin listed down like below. Select the check box and hit Next.
3. In Install Details window, click Next.
4. In the Review Licenses window, read the license agreement and choose I accept the terms of the license agreements.
Click on Finish to start the installation.
5. While installation, you will be prompted with a Security Warning dialog box like below. Click on OK to continue the installation.
6. At the end of installation, you will be prompted with below confirmation window to restart the Eclipse. Click on Yes to confirm and eclipse will be restarted with the Jetty Server installed.
7. Now create a sample SAPUI5 application and right click on SAPUI5 application and choose Run As → Run Configurations.
8. In Run Configurations window identify Jetty Webapp in the left pane and right click and choose New. You should see the window like below. Enter the Project name, Webapp Folder and Context Path fields like below and click on Run.
9. Now Jetty Webapp server will run and you can see the same in the server console like below. You can see the server is running at port 8080. This port will never change until you stop the server.
10. Now open your browser and copy the url. You should see the output of SAPUI5 applications
Now configured Jetty Webapp in Eclipse and ran your SAPUI5 application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 |