我为了播放1.2.5安装了migrate-1.4,我添加了
要求:
dependencies.yml
中的。
之后,我运行播放依赖项,告诉:
Oops, malformed dependencies.yml descriptor:
~
~ require list not found -> {require=play -> migrate 1.4}
~
Exception in thread "main" java.text.ParseException: Malformed dependencies.yml descriptor
at play.deps.YamlParser.parseDescriptor(YamlParser.java:204)
at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser.parseDescriptor(AbstractModuleDescriptorParser.java:48)
at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:185)
at play.deps.DependenciesManager.resolve(DependenciesManager.java:341)
at play.deps.DependenciesManager.main(DependenciesManager.java:39)
谁能告诉我原因?
非常感谢!
# Application dependencies
require:
- play -> table 1.2.1
- play -> migrate 1.4
- play -> search 2.0
- play -> jersey 0.1
然后我运行“play dependencies”,结果不同。
*****************************************************************************
WARNING: These dependencies are missing, your application may not work properly (use --verbose for details),
play->jersey 0.1
play->migrate 1.4
play->table 1.2.1
play->search 2.0
*****************************************************************************
Some dependencies are still missing.
答案 0 :(得分:0)
看起来你有太多require:
。尝试像这样更改dependencies.yml
:
require:
- play -> table 1.2.1
- play -> search 2.0
- play -> migrate 1.4
- play -> jersey 0.1
即。应该只有一个require:
部分。