【问题标题】:Binary incompatibility in plugins detected in Play 2.1.3 project after upgrading to IDEA 13.1?升级到 IDEA 13.1 后在 Play 2.1.3 项目中检测到插件二进制不兼容?
【发布时间】:2014-03-25 08:02:41
【问题描述】:

昨晚将 IntelliJ IDEA 更新到 13.1 后,我无法再使用运行/调试配置了。它发生在我过去几个月在 IDEA 13.0.x 中从事的一个项目中 - 现在它向我显示了信息,我不知道如何解决这个问题。 p>

[info] Loading project definition from /www/play20apps/cnproject/project
[error] sbt.IncompatiblePluginsException: Binary incompatibility in plugins detected.
[error] Note that conflicts were resolved for some dependencies:
[error]     asm:asm
[error]     asm:asm-tree
[error]     asm:asm-util
[error]     org.avaje.ebeanorm:avaje-ebeanorm-agent
[error]     jline:jline
[error]     junit:junit
[error]     com.jcraft:jsch
[error]     commons-logging:commons-logging
[error]     commons-codec:commons-codec
[error] Use 'last' for the full log.
[error] java.lang.ExceptionInInitializerError
[error] Use 'last' for the full log.
[error] Not a valid command: run
[error] run
[error]    ^

Process finished with exit code 1

当然,我从昨天开始就没有更改 Play 版本,并且使用通用命令行运行应用程序按预期工作。

还尝试在插件更新后创建新的运行配置,但没有成功。

请指教。

【问题讨论】:

  • 您能否按照 sbt 的指示将 *.sbt*.scala* build files? Can you also include last` 包含在完整的日志中?当您在 plugins 项目中时,您可能想要运行 project plugins 并四处寻找。 update 在那里说什么?
  • 不是现在,我不得不降级,因为需要在atm工作,最早会在未来2天内完成。 sbt 版本是 0.12.2 和 Play 是 2.1.3, dzięki :)

标签: intellij-idea sbt playframework-2.1


【解决方案1】:

-Djline.terminal= 添加到JVM Options should fix it

last登录reports this

相关部分:

Caused by: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: none
    at jline.Terminal.setupTerminal(Terminal.java:65)
    at jline.Terminal.getTerminal(Terminal.java:26)
    at sbt.JLine$.sbt$JLine$$terminal(LineReader.scala:65)

其中none 可能通过-Djline.terminal=none 传递。

【讨论】:

  • 我猜-Djline.terminal= 只是清除了none 所以它相当于null?如果是这样,为什么none 工作?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-07-04
  • 2015-09-02
  • 1970-01-01
  • 2014-04-27
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多