bad symbolic reference in scala ide for eclipse

I am trying to compile a Scala / akka project in scala IDE for eclipse and getting the following errors:

bad symbolic reference to com.typesafe encountered in class file 'ActorSystem.class'. Cannot access term typesafe in package com. The current classpath may be missing a definition for com.typesafe, or ActorSystem.class may have been compiled against a version that's incompatible with the one found on the current classpath.

bad symbolic reference to com.typesafe.config encountered in class file 'ActorSystem.class'. Cannot access term config in value com.typesafe. The current classpath may be missing a definition for com.typesafe.config, or ActorSystem.class may have been compiled against a version that's incompatible with the one found on the current classpath.

Answers


bad symbolic reference means, you are missing some packages in your classpath

For using akka actors you need to added the akka dependency which in turn depends on type safe config. You need to add the following dependencies in your project.

http://mvnrepository.com/artifact/com.typesafe.akka/akka-actor_2.10/2.3.6 http://mvnrepository.com/artifact/com.typesafe/config/1.2.1

Use some tools like sbteclipse to generate your eclipse project from your build definition, so that the dependencies are automatically added. Manually downloading the jars separately and adding to project will be a painful process.


Need Your Help

Different authentication backend for the django admin

django django-admin backend

What would be the best solution to use a different authentication backend for the Django admin site?

iframe a webpage in Facebook page

facebook iframe facebook-iframe iframe-app

Recently Facebook allows adding iframe tabs to their pages. Static HTML pages can be added using a number of apps such as static HTML tab1, static HTML tab2, etc etc.. These apps allows to create a...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.