将macOS更新到Catalina后Play框架不起作用

我在Mac中使用播放框架。将macOS更新到Catalina之后。我无法运行“ play deps”命令,该命令之前工作正常。

我想运行播放部门,下载依赖项,但看到此错误-

jyotimahansaria@Jyotis-MacBook-Pro ~/Documents/Bytemark/Backend_Work/play-1.3.1/myApp $ play deps
~        _            _ 
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/   
~
~ play! 1.3.1,https://www.playframework.com
~
Error: Could not find or load main class play.deps.DependenciesManager

我尝试创建一个简单的新应用并尝试运行,发现错误-

  1. 在游戏内播放文件夹
jyotimahansaria@Jyotis-MacBook-Pro ~/Documents/Bytemark/Backend_Work/play-1.3.1 $ play run myApp
~        _            _ 
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/   
~
~ play! 1.3.1,https://www.playframework.com
~
~ Ctrl+C to stop
~ 
~ using java version "1.8.0_231"
Error opening zip file or JAR manifest missing : /Users/jyotimahansaria/Documents/Bytemark/Backend_Work/play-1.3.1/framework/play-1.3.1.jar
Error occurred during initialization of VM
agent library failed to init: instrument

  1. 在App文件夹中运行-
jyotimahansaria@Jyotis-MacBook-Pro ~/Documents/Bytemark/Backend_Work/play-1.3.1/myApp $ play run myApp
~        _            _ 
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/   
~
~ play! 1.3.1,https://www.playframework.com
~
~ Oops. conf/routes or conf/application.conf missing.
~ /Users/jyotimahansaria/Documents/Bytemark/Backend_Work/play-1.3.1/myApp/myApp does not seem to host a valid application.
shikabulu 回答:将macOS更新到Catalina后Play框架不起作用

我删除了与播放有关的所有内容,并再次设置了播放,这次是在“应用程序”中而不是在“文档”中进行,并且工作正常。

本文链接:https://www.f2er.com/3155085.html

大家都在问