当我在 Mac 上设置 Flyway 时,当我尝试执行命令./flyway info来验证我已正确完成的所有配置时,我常常收到错误消息 -
libjvm.dylib\xe2\x80\x9d cannot be opened because the developer cannot be verified.\nRun Code Online (Sandbox Code Playgroud)\n
为了解决上述问题,我按照以下步骤操作:-
转到 Flyway 安装文件夹的 JRE LIB 文件夹 - 对我来说,这个路径看起来
像这样 -flyway-8.5.4/jre/lib
键入此命令
find . -type f -print0 | xargs -0 xattr -d com.apple.quarantine
在原始libjvm.dylib 对话框中单击“取消”,然后再次执行“flyway”命令。它应该解决这个问题。