1. After importing the project into the eclipse IDE, first, deselect the "Build Automatically options" and clean the project.




4. You will find many errors in the problem screen, some will be related to "missing
external libraries", Server Libraries and JRE System Library
External Dependency Jars :

JRE Libraries Errors:

Application Server Errors:

Remove the unbound jars :

Click on Add library and select the JRE and add it to the classpath:

6. After correcting JRE in the classpath, Go to build Path of the project and make sure to replace the correct Server libraries in-place of existing unbound Server libraries.
Remove the unbound server libraries:

You may have server run-time configured or may not. If you don't have server run-time then first add the application server
A ) Go to server screen and click on add new server :

B) Select the Application server.

C) Provide the installation Directory

D) Select any profile

Once the server is setup, Go to Build Path and Click on Add library and select the "Server Run-time" and add it to the classpath:


6. After correcting Server Runtime in the classpath, Go to build the Path of the project and make sure to replace the correct external libraries in-place of missing external libraries.
Remove external libraries :

Click on external Jars and add the jars into the classPath.


7. Once you corrected all the jars in the Classpath then build the project.

8. Once the project is built. you may find all the errors are gone or in case of any error, rearrange the order of all jars as shown below.


Comments
Post a Comment