码迷,mamicode.com
首页 > 其他好文 > 详细

写基于akka代码出现报错missing or invalid dependency detecte

时间:2015-09-02 12:03:06      阅读:461      评论:0      收藏:0      [点我收藏+]

标签:

具体的报错信息如下内容:

Error:scalac: missing or invalid dependency detected while loading class file ‘ActorSystem.class‘.
Could not access term typesafe in package com,
because it (or its dependencies) are missing. Check your build definition for
missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
A full rebuild may help if ‘ActorSystem.class‘ was compiled against an incompatible version of com.



事实上,我已经加了akka-actor_2.10-2.3.8.jar的jar包。。。。


解决上面的问题方法为:

1.在http://central.maven.org/maven2/com/typesafe/config/1.3.0/config-1.3.0.jar 下载这个jar.

2.添加到classpath中。即可。


我是用的是 scala 2.10版本;

写基于akka代码出现报错missing or invalid dependency detecte

标签:

原文地址:http://my.oschina.net/Rayn/blog/500566

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!