Ah ok that explains a lot.

No worries, thanks for the reply. I appreciate it!

On Friday, August 5, 2016 at 5:49:14 AM UTC-4, Konrad Malawski wrote:
>
> Hi Scott,
> OSGi messed up our RC1 release.
> Sorry for the trouble, though glad we did the RC which is there for 
> finding such issues before we release a stable version.
>
> The bug is explained in https://github.com/akka/akka/issues/21105 and 
> I've fixed both root cause and sbt plugin so we'll never have this issue 
> again.
> I'm releasing RC2 right now, please wait a bit and upgrade to it then.
>
> Thanks
>
> -- 
> Konrad `ktoso` Malawski
> Akka <http://akka.io> @ Lightbend <http://lightbend.com>
>
> On 5 August 2016 at 11:46:35, Scott Lunel (scott...@gmail.com 
> <javascript:>) wrote:
>
> Hey, sorry but I have yet another stupid question. 
>
> All of my dependencies seem to be correct now, but when I switch from 
> version 2.4.8 to 2.4.9-RC1, I get this error:
>
> [ERROR] error: missing or invalid dependency detected while loading class 
> file 'Unmarshaller.class'.
> [INFO] Could not access type Unmarshaller in value 
> akka.http.javadsl.unmarshalling,
> [INFO] because it (or its dependencies) are missing. Check your build 
> definition for
> [INFO] missing or conflicting dependencies.
>
> It says in the migration documentation from 2.4.8 to 2.4.9-RC1 that the 
> package has been moved from akka.http.javadsl.server to the unmarshalling 
> one shown above.
>
> I can't seem to get around this error no matter what I do.
>
> On Thursday, August 4, 2016 at 11:28:56 AM UTC-4, Scott Lunel wrote: 
>>
>> Hello everyone, 
>>
>>
>> I seem to be having a problem with Multipart file upload since Akka 
>> 2.4.8. It works perfectly fine in 2.4.7.
>>
>> I've google searched for anything related to this and haven't found much, 
>> so I've decided to post here.
>>
>> Code to reproduce:
>>
>> val upload = path("upload") {
>>     post {
>>       fileUpload("file") {
>>         case (fileInfo, bytes) ⇒
>>           complete("Done")
>>       }
>>     }
>> }
>>
>>
>> The exception:
>>
>> Uncaught error from thread [toplevel-akka.actor.default-dispatcher-10] 
>> shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for 
>> ActorSystem[toplevel]
>> java.lang.NoSuchMethodError: 
>> akka.stream.ActorMaterializer$.downcast(Lakka/stream/Materializer;)Lakka/stream/ActorMaterializer;
>> at 
>> akka.http.scaladsl.unmarshalling.MultipartUnmarshallers$$anonfun$multipartUnmarshaller$1$$anonfun$apply$1$$anonfun$apply$2$$anonfun$2.apply(MultipartUnmarshallers.scala:78)
>> at 
>> akka.http.scaladsl.unmarshalling.MultipartUnmarshallers$$anonfun$multipartUnmarshaller$1$$anonfun$apply$1$$anonfun$apply$2$$anonfun$2.apply(MultipartUnmarshallers.scala:78)
>> at scala.Option.getOrElse(Option.scala:121)
>> at 
>> akka.http.scaladsl.unmarshalling.MultipartUnmarshallers$$anonfun$multipartUnmarshaller$1$$anonfun$apply$1$$anonfun$apply$2.apply(MultipartUnmarshallers.scala:78)
>> at 
>> akka.http.scaladsl.unmarshalling.MultipartUnmarshallers$$anonfun$multipartUnmarshaller$1$$anonfun$apply$1$$anonfun$apply$2.apply(MultipartUnmarshallers.scala:71)
>> at 
>> akka.http.scaladsl.unmarshalling.Unmarshaller$$anon$1.apply(Unmarshaller.scala:52)
>> at 
>> akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers$$anonfun$messageUnmarshallerFromEntityUnmarshaller$1$$anonfun$apply$1$$anonfun$apply$2.apply(GenericUnmarshallers.scala:20)
>> at 
>> akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers$$anonfun$messageUnmarshallerFromEntityUnmarshaller$1$$anonfun$apply$1$$anonfun$apply$2.apply(GenericUnmarshallers.scala:20)
>> at 
>> akka.http.scaladsl.unmarshalling.Unmarshaller$$anon$1.apply(Unmarshaller.scala:52)
>>
>>
>> This appears to be throwing an exception when the code hits:
>>
>> entity(as[Multipart.FormData])
>>
>> I've written my own custom code to do multipart form file uploads and I 
>> initially suspected it was a problem on my end. However, after testing the 
>> above code (using one of the file upload directives), this error is being 
>> thrown in the akka http source.
>>
>> Is anyone else having this issue? I can't seem to get multipart file 
>> uploads to work in 2.4.8 and 2.4.9-RC1.
>>
>> Any help / information would be greatly appreciated.
>>
>>
>> Regards,
>>
>> Scott.
>>
> --
> >>>>>>>>>> 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 akka-user+...@googlegroups.com <javascript:>.
> To post to this group, send email to akka...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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