You need to put the JSoup JAR file in the /WEB-INF/libwebapp folder . This folder is covered by default classpath for webapp. In addition, Eclipse will automatically place all libraries in a folder /WEB-INF/libin the project build path, you will not need to do this manually. Of course, I assume that the project was created as a Dynamic Web Project.
source
share