I'm using eclipse Neon and WebSphere liberty as a JEE 7 application server. how can I get Java EE 7 documentation displayed when I hit ctrl space. I know the standar way is to attach sources, but what is the jar to select since liberty is my runtime environement that provides the JEE 7 libraries.
Asked
Active
Viewed 439 times
1
-
PS: I'm not using maven, I'm working with a dynamic web project. – Lorenzo Jan 16 '17 at 12:54
1 Answers
1
You can do that by expanding the Libraries/<Liberty runtime name> under the dynamic web project on the Project Explorer view. By default, the <Liberty runtime name> is WebSphere Application Server Liberty. Then, add the Java EE documentation URL to all the jars that starts with com.ibm.ws.javaee, e.g. com.ibm.ws.javaee.servlet.3.1_1.0.14.jar.
To add the javadoc URL to a specific jar, you can right click on the jar entry and select Properties. Then, you can add the javadoc URL on the Javadoc Location section.

Elson Yuen
- 401
- 2
- 7