Write error based on Akka code missing or invalid dependency detecte

Source: Internet
Author: User

The specific error message is as follows:

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) is missing. Check your build definition formissing or conflicting dependencies. (Re-run with '-ylog-classpath ' to see the problematic classpath.) A full rebuild could help if ' Actorsystem.class ' is compiled against an incompatible version of COM.



In fact, I have added the Akka-actor_2.10-2.3.8.jar jar package ....


The workaround for the above problem is:

1. Download this jar in Http://central.maven.org/maven2/com/typesafe/config/1.3.0/config-1.3.0.jar.

2. Add to Classpath. Can.


I'm using the Scala 2.10 version;

Write error based on Akka code missing or invalid dependency detecte

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.