Error when trying to package EchoExample

168 views
Skip to first unread message

Mingmin Liu

unread,
May 29, 2014, 2:26:12 AM5/29/14
to iago-...@googlegroups.com
The code I cloned is the latest master: https://github.com/twitter/iago/commit/f153d805653b986754fbb6cc64eb1e599072d583

Error occurred when I tried to package the Echo example:

***

➜  echo git:(master) ✗ mvn package
...
...
[ERROR] error: error while loading Await, class file needed by Await is missing.
[INFO] reference type InterruptedException of object package refers to nonexisting symbol.
[ERROR] error: error while loading Awaitable, class file needed by Awaitable is missing.
[INFO] reference type InterruptedException of object package refers to nonexisting symbol.
[ERROR] two errors found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.492s
[INFO] Finished at: Thu May 29 14:13:14 CST 2014
[INFO] Final Memory: 10M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.0.1:compile (scala-compile-first) on project iago-echo: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1(Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Any idea why this happens?

Tom Howland

unread,
May 29, 2014, 2:53:49 PM5/29/14
to iago-...@googlegroups.com
The problem is that when Iago was ported to scala 2.10, the echo example was never ported. You have two alternatives:
  1. get echo working with 2.10 -- this would involve a major rewrite of examples/echo/pom.xml. The world will thank you. Or
  2. use an older release of Iago that uses scala 2.9.2
The last known good release of Iago for 2.9.2 was

commit 415c7970cce6e3f5569cd2ee8f46d3c91308bf90
Author: Tom Howland <thow...@twitter.com>
Date:   Sat Feb 8 15:06:55 2014 -0800

    removed scrooge snapshot dependency

I proved it to myself with

git clean -fxd
git checkout 415c7970cce6e3f5569cd2ee8f46d3c91308bf90
mvn -DskipTests install && cd examples/echo && mvn package


--

---
You received this message because you are subscribed to the Google Groups "Iago Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iago-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mingmin Liu

unread,
May 30, 2014, 1:37:44 AM5/30/14
to iago-...@googlegroups.com
Thanks for your reply.

I tried solution 2,  it works !

在 2014年5月30日星期五UTC+8上午2时53分49秒,WamBamBoozle写道:

Raphael Feng

unread,
Jul 17, 2015, 1:37:38 AM7/17/15
to iago-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages