<dependency>
<groupId>org.webjars</groupId>
<artifactId>webjars-locator</artifactId>
<version>0.41</version>
</dependency>
gradle
implementation 'org.webjars:webjars-locator:0.41'
WebJarAssetLocator locator = new WebJarAssetLocator();
String fullPath = locator.getFullPath("jquery", "jquery.min.js");
String fullPath = locator.getFullPath("jquery", "jquery.min.js", "3.6.0");