How to make Eclipse automatically include the boxes that I place in my WEB-INF / lib folder in my project?

When I was programming JSP / Servlet, whenever I deleted third-party libraries in the WEB-INF / lib folder, they were automatically included in the project class path. In GWT, this is not so. Does anyone know why? I liked how easy it was in JSP, and I would like these banks to be automatically turned on in the same way.

+3
source share
4 answers

If you use the Google Plugin for Eclipse , then I understand that the Google web application project is simply not the same animal as the Dynamic web project and, therefore, behave differently. Therefore, if your project depends on libraries not provided by the GWT and App Engine SDKs, you need to put them in and add them explicitly to your Java build path.war/WEB-INF/lib

+4
source

In Eclipse Galileo, right-click the web project and select the build path, then select the Java EE Dependencies options and add banks.

+1
source
0

Source: https://habr.com/ru/post/1732615/


All Articles