Can't find akka.http.javadsl.testkit.JUnitRouteTest?

89 views
Skip to first unread message

john....@gmail.com

unread,
Aug 10, 2015, 5:05:39 PM8/10/15
to Akka User List
I wanted to use akka.http.javadsl.testkit.JUnitRouteTest. But I can only find the scala dsl  one in akka-http-testkit-experimental_2.11?

If its not ready can I use the scala one from java? 

john....@gmail.com

unread,
Aug 11, 2015, 1:08:44 AM8/11/15
to Akka User List
Ok I realized that it is in the release-2.3-dev branch.

I can create out of the box with sbt package a 2.10  akka-http-testkit-experimental_2.10 version.
but I need a 2.11 version.

Can somebody help? With just java know-how I have no idea how to make a 2.11 package 

Johannes Rudolph

unread,
Aug 11, 2015, 3:49:29 AM8/11/15
to Akka User List
Hi john,

it seems that this is a bug that we thought to be fixed but which has reappeared. I filed it as https://github.com/akka/akka/issues/18178

Johannes

john....@gmail.com

unread,
Aug 11, 2015, 3:51:58 AM8/11/15
to Akka User List
thanx for replying!. ha I managed to compile myself a 2.11 version! no problem.

john....@gmail.com

unread,
Aug 11, 2015, 5:01:20 AM8/11/15
to Akka User List
I am using Akka http Test

HttpRequest
request = ...
TestResponse response = appRoute.run(request);
Unfortunatly TestResponse is null.
I think its because I am getting the error No such instance method: 'akka.http.scaladsl.util.FastFuture'

Did I compile wrongly?


Am Dienstag, 11. August 2015 09:49:29 UTC+2 schrieb Johannes Rudolph:

john....@gmail.com

unread,
Aug 11, 2015, 5:01:54 AM8/11/15
to Akka User List
I am using Akka http Test

HttpRequest
request = ...
TestResponse response = appRoute.run(request);
Unfortunatly TestResponse is null.
I think its because I am getting the error No such instance method: 'akka.http.scaladsl.util.FastFuture'

Did I compile wrongly?



Am Dienstag, 11. August 2015 09:49:29 UTC+2 schrieb Johannes Rudolph:

Johannes Rudolph

unread,
Aug 11, 2015, 5:05:50 AM8/11/15
to akka-user
Hi John,

how can we know? You need to share more of your code :)

Johannes
> --
>>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>>> Check the FAQ:
>>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Akka User List" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/akka-user/a21kE9wsbq4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> akka-user+...@googlegroups.com.
> To post to this group, send email to akka...@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.



--
Johannes

-----------------------------------------------
Johannes Rudolph
http://virtual-void.net

john....@gmail.com

unread,
Aug 11, 2015, 9:02:34 AM8/11/15
to Akka User List
Sorry I found the error so I don't need to post the code. When do you think (just roughly) will typesafe publish an updated artificat to maven central?

Jewel Abdul Kader

unread,
Sep 5, 2015, 9:04:12 AM9/5/15
to Akka User List
Hi , is this on in maven central yet?

Akka Team

unread,
Sep 8, 2015, 6:49:22 AM9/8/15
to Akka User List
You cannot change an artifact once it has been published, so this will need a new release of Akka Streams. We had scheduled the next release to happen roughly end of September. I think we might need to schedule a minor release for this fix that is independent of our main line of work.

-Endre

You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.

To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--
Akka Team
Typesafe - Reactive apps on the JVM
Blog: letitcrash.com
Twitter: @akkateam
Reply all
Reply to author
Forward
0 new messages