You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the CONTRIBUTING readme on Ubuntu 24.04, but it seems like compilation of frontend fails due to some deprecated APIs (after the fix to frontend/README.md in #3363)
> Task :archive:compileJava FAILED
/home/mihaidusmanu/sources/serve/frontend/archive/src/main/java/org/pytorch/serve/archive/utils/ArchiveUtils.java:98: warning: [deprecation] URL(String) in URL has been deprecated
URL archiveUrl = new URL(url);
^
error: warnings found and -Werror specified
/home/mihaidusmanu/sources/serve/frontend/archive/src/main/java/org/pytorch/serve/archive/model/s3/HttpUtils.java:55: warning: [deprecation] URL(String) in URL has been deprecated
HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection();
^
/home/mihaidusmanu/sources/serve/frontend/archive/src/main/java/org/pytorch/serve/archive/model/s3/HttpUtils.java:82: warning: [deprecation] URL(String) in URL has been deprecated
URL endpointUrl = new URL(url);
^
1 error
3 warnings
FAILURE: Build failed with an exception.
Suggest a potential alternative/fix
Probably the wrong version of Java is installed in the setup scripts?
The text was updated successfully, but these errors were encountered:
📚 The doc issue
I followed the CONTRIBUTING readme on Ubuntu 24.04, but it seems like compilation of frontend fails due to some deprecated APIs (after the fix to frontend/README.md in #3363)
Suggest a potential alternative/fix
Probably the wrong version of Java is installed in the setup scripts?
The text was updated successfully, but these errors were encountered: