How to add libraries when building project

First of all, my native language is not English, so please understand even if the grammar is weird.
In short, I want to add a function using jsoup in jsp file to html file. However, jsoup.jar exists not in the project folder but in the lib folder, which is the internal folder of the folder named WEB-INF.
So, I would like to know how to apply the jsoup library together when building a project.
The link below is my webpage trying to apply jsoup(It doesn’t work)

And below is the code of the jsp file with jsoup and project image

<%@page import=""%>
<%@page import="org.jsoup.Jsoup"%>
<%@page import="org.jsoup.nodes.Document"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
try { 
    String connUrl = "";
    Document doc = Jsoup.connect(connUrl).get(); 
} catch (IOException e) {

Hi, @MGS-95. It isn’t possible to run a Java web server at Netlify. The following support guide explains why:

If there are other questions, please let us know.