Quantcast
Channel: Active questions tagged servlets - Stack Overflow
Viewing all articles
Browse latest Browse all 675

How to Use an External JAR Offline in a Maven Project for Servlets Without Internet Access? [duplicate]

$
0
0

enter image description herehttps://i.stack.imgur.com/G40Rx.png

click above to get that photo,

Hello Everyone, I seek your assistance with a Maven project that involves servlets. As depicted in the attached photo, I have created a Maven project and included an external JAR file in the Libraries ( similar to how we add a MySQL JAR file in basic Java or JDBC projects. ) In this case, I'm using a downloaded JAR file on my computer, specifically poi-ooxml-lite.jar in Maven project. My objective is to restrict the internet access for this External jar file, which is showen in photo, using it offline within my project, excluding Maven Dependencies. Ultimately, I plan to convert this project into a WAR file for deployment on a VPS.

Can someone guide me on how to block internet access for this external JAR file while still using it in my project?

Could anyone provide guidance or advice on how to disable internet access for this particular external JAR file?

Thank you in advance for your help.

and second problem is that, How to upload image directly on stackoverflow without using these type of link which is automatically provided my stackoverflow.


Viewing all articles
Browse latest Browse all 675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>