Java的Akka actors,Maven依赖问题

编程入门 行业动态 更新时间:2024-10-08 05:24:18
本文介绍了Java的Akka actors,Maven依赖问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在此官方文档中,他们使用2.2-SNAPSHOT版本。

In this official doc they use 2.2-SNAPSHOT version.

doc.akka.io/docs/akka/snapshot/intro/getting-started.html

如果尝试解决它-它不起作用。

If try to resolve it - it does not work.

如果尝试添加类型安全存储库:

If try to add typesafe repo:

<repositories> <repository> <id>java</id> <url>repo.typesafe/typesafe/releases/</url> </repository> </repositories> <dependencies> <dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-actor_2.10</artifactId> <version>2.2-SNAPSHOT</version> </dependency> </dependencies>

这都不起作用。 编辑: 即使我在<存储库>中使用快照存储库

It does not work neither. Even if I use snapshot repo in "< repository >"

是否存在一些存储库可以用来制作正式样品吗?

Is there some repo I can use to make official sample working?

如果我使用以前的版本,则该示例无法解决某些方法(例如: Props.create ) 。所以我需要最后一个。

If I use previous version, then that example does not resolve some methods (like this: Props.create). So I need last one then.

推荐答案

您不能使用M3吗?

<dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-actor_2.10</artifactId> <version>2.2-M3</version> </dependency>

如果是,请使用上面的命令。它可以在标准Maven仓库中使用。

If so, please use the above. It's available on the standard Maven repo.

更多推荐

Java的Akka actors,Maven依赖问题

本文发布于:2023-11-25 18:02:16,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1630770.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Akka   Java   Maven   actors

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!