patrickfav/bcrypt

Java 11 broken jar file

開放

#30 建立於 2020年2月2日

 (9 則留言) (2 個反應) (0 位負責人)Java (50 個分叉)github user discovery
help wanted

倉庫指標

星標
 (559 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Whenever I use this library in Java 11 to build a jar with Intellij, it says my main class is not found:

When the main class clearly does exist, with the correct packaging:

When using JBCrypt 0.4 instead of this bcrypt library, my jar file works fine, but JBCrypt doesn't support the newer $2y BCrypt version, only $2a.

I worked around this issue by finding a newer JBCrypt fork with $2y support, and I built a jar of it and the jar worked perfectly: https://github.com/Oscil8/jBCrypt/tree/djm-2y-etc an

貢獻者指南