Flyway - MacO 中的 libjvm.dylib 问题

Rak*_*esh 4 macos flyway

当我在 Mac 上设置 Flyway 时,当我尝试执行命令./flyway info来验证我已正确完成的所有配置时,我常常收到错误消息 -

\n
libjvm.dylib\xe2\x80\x9d cannot be opened because the developer cannot be verified.\n
Run Code Online (Sandbox Code Playgroud)\n

Rak*_*esh 5

为了解决上述问题,我按照以下步骤操作:-

  1. 转到 Flyway 安装文件夹的 JRE LIB 文件夹 - 对我来说,这个路径看起来
    像这样 -flyway-8.5.4/jre/lib

  2. 键入此命令 find . -type f -print0 | xargs -0 xattr -d com.apple.quarantine

  3. 在原始libjvm.dylib 对话框中单击“取消”,然后再次执行“flyway”命令。它应该解决这个问题。