Errors running console from eclipse

109 views
Skip to first unread message

Joshua Beck

unread,
Apr 9, 2014, 11:19:48 AM4/9/14
to typesafe...@googlegroups.com
I'm trying to run typesafe console 1.3.1 with eclipse.  When I set everything up and add the dependency trace-akka-2.2.1_2.10-1.3.1.jar I get a lot of these messages on startup:

[StandardClassLoader@...] error can't determine implement interfaces of missing type akka.actor.ActorRef
[StandardClassLoader@...] error can't determine implement interfaces of missing type akka.actor.ActorSelection
...

but most importantly my application fails to start now because of the following class def not found error:

Caused by: java.lang.NoClassDefFoundError: com/typesafe/atmos/trace/WithTracer

Looking in the above jar that class definitely does not exist.  Am I missing some other dependency?

Thanks!

Josh

Henrik Engström

unread,
Apr 9, 2014, 1:19:16 PM4/9/14
to Joshua Beck, typesafe...@googlegroups.com
Take a look at this for more information about how to run Console with Eclipse:

Btw, hope you're aware that we've EOLed Typesafe Console? It's being replaced with Typesafe Activator.
More information here:

Cheers,
Henrik


--
You received this message because you are subscribed to the Google Groups "Typesafe Console User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to typesafe-conso...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joshua Beck

unread,
Apr 9, 2014, 2:27:53 PM4/9/14
to typesafe...@googlegroups.com, Joshua Beck
Henrik,

Thanks for the links.  Unfortunately I do not have access to Typesafe Activator at work and I'm stuck with the environment I've been given otherwise I would use it. 

I was able to fix some of my missing dependencies but now I'm getting the following only when the ActorSystem tries to start:

java.lang.NoClassDefFoundError: com/typesafe/atmos/trace/Tracer$

Is there something else I'm missing?  I had configured everything according to the eclipse link you sent me.

Thanks for the help!

Henrik Engström

unread,
Apr 9, 2014, 5:39:40 PM4/9/14
to Joshua Beck, typesafe...@googlegroups.com
Please find an example Eclipse .classpath file for a project that's using the Console.

We prefer that you use sbt-atmos to start the Console as this simplifies things a lot.

sbt can also generate the Eclipse project files for you with this plugin:

(This is how I generated the attached .classpath file).

If you're using sbt then there is a Maven example in the link I previously sent.

HTH,
Henrik
classpath-example.txt

Joshua Beck

unread,
Apr 9, 2014, 9:09:39 PM4/9/14
to Henrik Engström, typesafe...@googlegroups.com
Henrik,

Thanks..  I was able to get my project compiling and running. 

Josh

Reply all
Reply to author
Forward
0 new messages