Could it be that you are not actually having akka-streams 2.4.6 first in
the classpath but you have some older version where it was not named
Source.fromPublisher ?

/Patrik

On Wed, Jun 1, 2016 at 3:03 PM, Marco Rispoli <[email protected]> wrote:

> I just started working with akka streams (2.4.6) and slick (3.1.1) in
> Scala (2.11.7). I'm using Intellij (not sure if that matters but I thought
> I'd throw it out there).
>
> val scanner: DatabasePublisher[Stage] = db.stream(action.transactionally.
> withStatementParameters(fetchSize = 5000))
> val source = Source.fromPublisher(scanner)
>
>
> the problem is on the second line. Intellij is telling me that it cannot
> resolve symbol "fromPublisher" ... I thought it was IJ being finnicky but
> when I went to build I got this:
>
> Error:(38, 10) value fromPublisher is not a member of object akka.stream.
> scaladsl.Source
>   Source.fromPublisher(scanner)
>          ^
>
> any idea of what I could be doing wrong?
>
> Been fighting with this the whole night and I'm ready to pull my hair out.
>
> Thanks!
>
> --
> >>>>>>>>>> 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 the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Akka Tech Lead
Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      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 the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to