我在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
我尝试创建一个简单的新应用并尝试运行,发现错误-
- 在游戏内播放文件夹
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
- 在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.