Scala编译器没有在scala中推断类型:testCompile

时间:2012-10-15 23:08:18

标签: scala maven compilation

如何在Eclipse中管理scala-compiler-plugin进行编译? src / scala和src / java编译得很好,但是当我编译测试时,我得到了

这些测试在Eclipse中运行得很好,我相信它因为eclipse使用的编译器中的标志。 尝试在maven中编译测试时遇到同样问题的任何人?

[ERROR] MissionDataSet.scala:23: error: type mismatch;
[INFO]  found   : com.thegamifiers.fanwards.model.mission.objective.Objective
[INFO]  required: ?{val asInstanceOf: ?}
[INFO] Note that implicit conversions are not applicable because they are ambiguous:

0 个答案:

没有答案
相关问题