Advertisement
aironman

output

Mar 7th, 2019
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo> sbt sbtVersion
  3. [warn] Executing in batch mode.
  4. [warn] For better performance, hit [ENTER] to switch to interactive mode, or
  5. [warn] consider launching sbt without any commands, or explicitly passing 'shell'
  6. [info] Loading project definition from /Users/aironman/akka-microservices/akkajavademo/project
  7. [info] Set current project to AkkaJavaDemo (in build file:/Users/aironman/akka-microservices/akkajavademo/)
  8. [info] 0.13.15
  9. ...
  10. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo> sbt
  11. [info] Loading project definition from /Users/aironman/akka-microservices/akkajavademo/project
  12. [info] Set current project to AkkaJavaDemo (in build file:/Users/aironman/akka-microservices/akkajavademo/)
  13. > compile
  14. [info] Updating {file:/Users/aironman/akka-microservices/akkajavademo/}akkajavademo...
  15. WARNING: An illegal reflective access operation has occurred
  16. WARNING: Illegal reflective access by sbt.ivyint.ErrorMessageAuthenticator$ (file:/Users/aironman/.sbt/boot/scala-2.10.6/org.scala-sbt/sbt/0.13.15/ivy-0.13.15.jar) to field java.net.Authenticator.theAuthenticator
  17. WARNING: Please consider reporting this to the maintainers of sbt.ivyint.ErrorMessageAuthenticator$
  18. WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  19. WARNING: All illegal access operations will be denied in a future release
  20. [info] Resolving jline#jline;2.14.6 ...
  21. [info] downloading https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.12.8/scala-library-2.12.8.jar ...
  22. [info] [SUCCESSFUL ] org.scala-lang#scala-library;2.12.8!scala-library.jar (2565ms)
  23. [info] downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-slf4j_2.12/2.5.21/akka-slf4j_2.12-2.5.21.jar ...
  24. [info] [SUCCESSFUL ] com.typesafe.akka#akka-slf4j_2.12;2.5.21!akka-slf4j_2.12.jar (348ms)
  25. [info] downloading https://repo1.maven.org/maven2/com/google/inject/guice/4.2.2/guice-4.2.2.jar ...
  26. [info] [SUCCESSFUL ] com.google.inject#guice;4.2.2!guice.jar (1008ms)
  27. [info] downloading https://repo1.maven.org/maven2/com/google/guava/guava/25.1-android/guava-25.1-android.jar ...
  28. [info] [SUCCESSFUL ] com.google.guava#guava;25.1-android!guava.jar(bundle) (934ms)
  29. [info] downloading https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar ...
  30. [info] [SUCCESSFUL ] com.google.code.findbugs#jsr305;3.0.2!jsr305.jar (144ms)
  31. [info] downloading https://repo1.maven.org/maven2/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar ...
  32. [info] [SUCCESSFUL ] org.checkerframework#checker-compat-qual;2.0.0!checker-compat-qual.jar (162ms)
  33. [info] downloading https://repo1.maven.org/maven2/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar ...
  34. [info] [SUCCESSFUL ] com.google.errorprone#error_prone_annotations;2.1.3!error_prone_annotations.jar (153ms)
  35. [info] downloading https://repo1.maven.org/maven2/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar ...
  36. [info] [SUCCESSFUL ] com.google.j2objc#j2objc-annotations;1.1!j2objc-annotations.jar (144ms)
  37. [info] downloading https://repo1.maven.org/maven2/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar ...
  38. [info] [SUCCESSFUL ] org.codehaus.mojo#animal-sniffer-annotations;1.14!animal-sniffer-annotations.jar (147ms)
  39. [info] downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-http-testkit_2.12/10.1.7/akka-http-testkit_2.12-10.1.7.jar ...
  40. [info] [SUCCESSFUL ] com.typesafe.akka#akka-http-testkit_2.12;10.1.7!akka-http-testkit_2.12.jar (149ms)
  41. [info] downloading https://repo1.maven.org/maven2/org/mockito/mockito-core/2.25.0/mockito-core-2.25.0.jar ...
  42. [info] [SUCCESSFUL ] org.mockito#mockito-core;2.25.0!mockito-core.jar (285ms)
  43. [info] downloading https://repo1.maven.org/maven2/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar ...
  44. [info] [SUCCESSFUL ] org.hamcrest#hamcrest-all;1.3!hamcrest-all.jar (216ms)
  45. [info] downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-http_2.12/10.1.7/akka-http_2.12-10.1.7.jar ...
  46. [info] [SUCCESSFUL ] com.typesafe.akka#akka-http_2.12;10.1.7!akka-http_2.12.jar (562ms)
  47. [info] downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-http-core_2.12/10.1.7/akka-http-core_2.12-10.1.7.jar ...
  48. [info] [SUCCESSFUL ] com.typesafe.akka#akka-http-core_2.12;10.1.7!akka-http-core_2.12.jar (959ms)
  49. [info] downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-parsing_2.12/10.1.7/akka-parsing_2.12-10.1.7.jar ...
  50. [info] [SUCCESSFUL ] com.typesafe.akka#akka-parsing_2.12;10.1.7!akka-parsing_2.12.jar (329ms)
  51. [info] downloading https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.9.7/byte-buddy-1.9.7.jar ...
  52. [info] [SUCCESSFUL ] net.bytebuddy#byte-buddy;1.9.7!byte-buddy.jar (841ms)
  53. [info] downloading https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy-agent/1.9.7/byte-buddy-agent-1.9.7.jar ...
  54. [info] [SUCCESSFUL ] net.bytebuddy#byte-buddy-agent;1.9.7!byte-buddy-agent.jar (151ms)
  55. [info] downloading https://repo1.maven.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.jar ...
  56. [info] [SUCCESSFUL ] org.objenesis#objenesis;2.6!objenesis.jar (174ms)
  57. [info] downloading https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.8/scala-compiler-2.12.8.jar ...
  58. [info] [SUCCESSFUL ] org.scala-lang#scala-compiler;2.12.8!scala-compiler.jar (2132ms)
  59. [info] downloading https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.12.8/scala-reflect-2.12.8.jar ...
  60. [info] [SUCCESSFUL ] org.scala-lang#scala-reflect;2.12.8!scala-reflect.jar (908ms)
  61. [info] Done updating.
  62. [info] Compiling 5 Java sources to /Users/aironman/akka-microservices/akkajavademo/target/scala-2.12/classes...
  63. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:12: actors.HappyBdayActor is not abstract and does not override abstract method createReceive() in akka.actor.AbstractActor
  64. [error] public class HappyBdayActor extends AbstractActor {
  65. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:29: non-static method <P>match(java.lang.Class<P>,akka.japi.pf.FI.UnitApply<P>) cannot be referenced from a static context
  66. [error] .match(String.class, message -> {
  67. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:34: akka.actor.AbstractActor.Receive cannot be converted to scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
  68. [error] .build();
  69. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:12: supervisor.Supervisor is not abstract and does not override abstract method createReceive() in akka.actor.AbstractActor
  70. [error] public class Supervisor extends AbstractActor {
  71. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:40: non-static method <P>match(java.lang.Class<P>,akka.japi.pf.FI.UnitApply<P>) cannot be referenced from a static context
  72. [error] .match(Props.class, props -> {
  73. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:44: akka.actor.AbstractActor.Receive cannot be converted to scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
  74. [error] .build();
  75. [info] /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java: /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java uses or overrides a deprecated API.
  76. [info] /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java: Recompile with -Xlint:deprecation for details.
  77. [error] (compile:compileIncremental) javac returned nonzero exit code
  78. [error] Total time: 26 s, completed 7 mar. 2019 17:39:13
  79. > clean
  80. [success] Total time: 1 s, completed 7 mar. 2019 17:39:47
  81. > compile
  82. [info] Updating {file:/Users/aironman/akka-microservices/akkajavademo/}akkajavademo...
  83. [info] Resolving jline#jline;2.14.6 ...
  84. [info] Done updating.
  85. [info] Compiling 5 Java sources to /Users/aironman/akka-microservices/akkajavademo/target/scala-2.12/classes...
  86. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:12: actors.HappyBdayActor is not abstract and does not override abstract method createReceive() in akka.actor.AbstractActor
  87. [error] public class HappyBdayActor extends AbstractActor {
  88. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:29: non-static method <P>match(java.lang.Class<P>,akka.japi.pf.FI.UnitApply<P>) cannot be referenced from a static context
  89. [error] .match(String.class, message -> {
  90. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:34: akka.actor.AbstractActor.Receive cannot be converted to scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
  91. [error] .build();
  92. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:12: supervisor.Supervisor is not abstract and does not override abstract method createReceive() in akka.actor.AbstractActor
  93. [error] public class Supervisor extends AbstractActor {
  94. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:40: non-static method <P>match(java.lang.Class<P>,akka.japi.pf.FI.UnitApply<P>) cannot be referenced from a static context
  95. [error] .match(Props.class, props -> {
  96. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:44: akka.actor.AbstractActor.Receive cannot be converted to scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
  97. [error] .build();
  98. [info] /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java: /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java uses or overrides a deprecated API.
  99. [info] /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java: Recompile with -Xlint:deprecation for details.
  100. [error] (compile:compileIncremental) javac returned nonzero exit code
  101. [error] Total time: 1 s, completed 7 mar. 2019 17:39:51
  102. > exit
  103. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo>
  104. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo>
  105. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo>
  106. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo> ls
  107. README.md build.sbt project src target
  108. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo> vi build.sbt
  109. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo> vim build.sbt
  110. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo> sbt sbtVersion
  111. [warn] Executing in batch mode.
  112. [warn] For better performance, hit [ENTER] to switch to interactive mode, or
  113. [warn] consider launching sbt without any commands, or explicitly passing 'shell'
  114. [info] Loading project definition from /Users/aironman/akka-microservices/akkajavademo/project
  115. [info] Set current project to AkkaJavaDemo (in build file:/Users/aironman/akka-microservices/akkajavademo/)
  116. [info] 0.13.15
  117. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo>
  118. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo>
  119. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo>
  120. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo> ls project/
  121. build.properties plugins.sbt project target
  122. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo> vim project/build.properties
  123.  
  124. sbt.version = 0.13.15
  125. ~
  126. "project/build.properties" 1L, 22C 1,21 Todo
  127.  
  128. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo> vim build.sbt
  129.  
  130.  
  131. name := "AkkaJavaDemo"
  132.  
  133. version := "1.0"
  134.  
  135. scalaVersion := "2.12.8"
  136.  
  137. libraryDependencies ++= Seq(
  138. "com.typesafe.akka" %% "akka-slf4j" % "2.5.21",
  139. "com.google.inject" % "guice" % "4.2.2",
  140. "junit" % "junit" % "4.12" % "test" exclude("hamcrest-core", "org.hamcrest"),
  141. "com.typesafe.akka" %% "akka-http-testkit" % "10.1.7" % "test",
  142. "org.mockito" % "mockito-core" % "2.25.0" % "test" exclude("hamcrest-core", "org.hamcrest"),
  143. "org.hamcrest" % "hamcrest-all" % "1.3" % "test"
  144. )
  145.  
  146. "build.sbt" 16L, 490C 16,4 Todo
  147.  
  148.  
  149. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo> sbt clean
  150. [warn] Executing in batch mode.
  151. [warn] For better performance, hit [ENTER] to switch to interactive mode, or
  152. [warn] consider launching sbt without any commands, or explicitly passing 'shell'
  153. [info] Loading project definition from /Users/aironman/akka-microservices/akkajavademo/project
  154. WARNING: An illegal reflective access operation has occurred
  155. WARNING: Illegal reflective access by sbt.ivyint.ErrorMessageAuthenticator$ (file:/Users/aironman/.sbt/boot/scala-2.10.6/org.scala-sbt/sbt/0.13.15/ivy-0.13.15.jar) to field java.net.Authenticator.theAuthenticator
  156. WARNING: Please consider reporting this to the maintainers of sbt.ivyint.ErrorMessageAuthenticator$
  157. WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  158. WARNING: All illegal access operations will be denied in a future release
  159. [info] Set current project to AkkaJavaDemo (in build file:/Users/aironman/akka-microservices/akkajavademo/)
  160. [success] Total time: 0 s, completed 7 mar. 2019 17:38:33
  161. aironman@MacBook-Pro-Retina-de-Alonso ~/a/akkajavademo> sbt
  162. [info] Loading project definition from /Users/aironman/akka-microservices/akkajavademo/project
  163. [info] Set current project to AkkaJavaDemo (in build file:/Users/aironman/akka-microservices/akkajavademo/)
  164. > compile
  165. [info] Updating {file:/Users/aironman/akka-microservices/akkajavademo/}akkajavademo...
  166. WARNING: An illegal reflective access operation has occurred
  167. WARNING: Illegal reflective access by sbt.ivyint.ErrorMessageAuthenticator$ (file:/Users/aironman/.sbt/boot/scala-2.10.6/org.scala-sbt/sbt/0.13.15/ivy-0.13.15.jar) to field java.net.Authenticator.theAuthenticator
  168. WARNING: Please consider reporting this to the maintainers of sbt.ivyint.ErrorMessageAuthenticator$
  169. WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  170. WARNING: All illegal access operations will be denied in a future release
  171. [info] Resolving jline#jline;2.14.6 ...
  172. [info] downloading https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.12.8/scala-library-2.12.8.jar ...
  173. [info] [SUCCESSFUL ] org.scala-lang#scala-library;2.12.8!scala-library.jar (2565ms)
  174. [info] downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-slf4j_2.12/2.5.21/akka-slf4j_2.12-2.5.21.jar ...
  175. [info] [SUCCESSFUL ] com.typesafe.akka#akka-slf4j_2.12;2.5.21!akka-slf4j_2.12.jar (348ms)
  176. [info] downloading https://repo1.maven.org/maven2/com/google/inject/guice/4.2.2/guice-4.2.2.jar ...
  177. [info] [SUCCESSFUL ] com.google.inject#guice;4.2.2!guice.jar (1008ms)
  178. [info] downloading https://repo1.maven.org/maven2/com/google/guava/guava/25.1-android/guava-25.1-android.jar ...
  179. [info] [SUCCESSFUL ] com.google.guava#guava;25.1-android!guava.jar(bundle) (934ms)
  180. [info] downloading https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar ...
  181. [info] [SUCCESSFUL ] com.google.code.findbugs#jsr305;3.0.2!jsr305.jar (144ms)
  182. [info] downloading https://repo1.maven.org/maven2/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar ...
  183. [info] [SUCCESSFUL ] org.checkerframework#checker-compat-qual;2.0.0!checker-compat-qual.jar (162ms)
  184. [info] downloading https://repo1.maven.org/maven2/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar ...
  185. [info] [SUCCESSFUL ] com.google.errorprone#error_prone_annotations;2.1.3!error_prone_annotations.jar (153ms)
  186. [info] downloading https://repo1.maven.org/maven2/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar ...
  187. [info] [SUCCESSFUL ] com.google.j2objc#j2objc-annotations;1.1!j2objc-annotations.jar (144ms)
  188. [info] downloading https://repo1.maven.org/maven2/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar ...
  189. [info] [SUCCESSFUL ] org.codehaus.mojo#animal-sniffer-annotations;1.14!animal-sniffer-annotations.jar (147ms)
  190. [info] downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-http-testkit_2.12/10.1.7/akka-http-testkit_2.12-10.1.7.jar ...
  191. [info] [SUCCESSFUL ] com.typesafe.akka#akka-http-testkit_2.12;10.1.7!akka-http-testkit_2.12.jar (149ms)
  192. [info] downloading https://repo1.maven.org/maven2/org/mockito/mockito-core/2.25.0/mockito-core-2.25.0.jar ...
  193. [info] [SUCCESSFUL ] org.mockito#mockito-core;2.25.0!mockito-core.jar (285ms)
  194. [info] downloading https://repo1.maven.org/maven2/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar ...
  195. [info] [SUCCESSFUL ] org.hamcrest#hamcrest-all;1.3!hamcrest-all.jar (216ms)
  196. [info] downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-http_2.12/10.1.7/akka-http_2.12-10.1.7.jar ...
  197. [info] [SUCCESSFUL ] com.typesafe.akka#akka-http_2.12;10.1.7!akka-http_2.12.jar (562ms)
  198. [info] downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-http-core_2.12/10.1.7/akka-http-core_2.12-10.1.7.jar ...
  199. [info] [SUCCESSFUL ] com.typesafe.akka#akka-http-core_2.12;10.1.7!akka-http-core_2.12.jar (959ms)
  200. [info] downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-parsing_2.12/10.1.7/akka-parsing_2.12-10.1.7.jar ...
  201. [info] [SUCCESSFUL ] com.typesafe.akka#akka-parsing_2.12;10.1.7!akka-parsing_2.12.jar (329ms)
  202. [info] downloading https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.9.7/byte-buddy-1.9.7.jar ...
  203. [info] [SUCCESSFUL ] net.bytebuddy#byte-buddy;1.9.7!byte-buddy.jar (841ms)
  204. [info] downloading https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy-agent/1.9.7/byte-buddy-agent-1.9.7.jar ...
  205. [info] [SUCCESSFUL ] net.bytebuddy#byte-buddy-agent;1.9.7!byte-buddy-agent.jar (151ms)
  206. [info] downloading https://repo1.maven.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.jar ...
  207. [info] [SUCCESSFUL ] org.objenesis#objenesis;2.6!objenesis.jar (174ms)
  208. [info] downloading https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.8/scala-compiler-2.12.8.jar ...
  209. [info] [SUCCESSFUL ] org.scala-lang#scala-compiler;2.12.8!scala-compiler.jar (2132ms)
  210. [info] downloading https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.12.8/scala-reflect-2.12.8.jar ...
  211. [info] [SUCCESSFUL ] org.scala-lang#scala-reflect;2.12.8!scala-reflect.jar (908ms)
  212. [info] Done updating.
  213. [info] Compiling 5 Java sources to /Users/aironman/akka-microservices/akkajavademo/target/scala-2.12/classes...
  214. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:12: actors.HappyBdayActor is not abstract and does not override abstract method createReceive() in akka.actor.AbstractActor
  215. [error] public class HappyBdayActor extends AbstractActor {
  216. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:29: non-static method <P>match(java.lang.Class<P>,akka.japi.pf.FI.UnitApply<P>) cannot be referenced from a static context
  217. [error] .match(String.class, message -> {
  218. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:34: akka.actor.AbstractActor.Receive cannot be converted to scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
  219. [error] .build();
  220. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:12: supervisor.Supervisor is not abstract and does not override abstract method createReceive() in akka.actor.AbstractActor
  221. [error] public class Supervisor extends AbstractActor {
  222. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:40: non-static method <P>match(java.lang.Class<P>,akka.japi.pf.FI.UnitApply<P>) cannot be referenced from a static context
  223. [error] .match(Props.class, props -> {
  224. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:44: akka.actor.AbstractActor.Receive cannot be converted to scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
  225. [error] .build();
  226. [info] /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java: /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java uses or overrides a deprecated API.
  227. [info] /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java: Recompile with -Xlint:deprecation for details.
  228. [error] (compile:compileIncremental) javac returned nonzero exit code
  229. [error] Total time: 26 s, completed 7 mar. 2019 17:39:13
  230. > clean
  231. [success] Total time: 1 s, completed 7 mar. 2019 17:39:47
  232. > compile
  233. [info] Updating {file:/Users/aironman/akka-microservices/akkajavademo/}akkajavademo...
  234. [info] Resolving jline#jline;2.14.6 ...
  235. [info] Done updating.
  236. [info] Compiling 5 Java sources to /Users/aironman/akka-microservices/akkajavademo/target/scala-2.12/classes...
  237. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:12: actors.HappyBdayActor is not abstract and does not override abstract method createReceive() in akka.actor.AbstractActor
  238. [error] public class HappyBdayActor extends AbstractActor {
  239. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:29: non-static method <P>match(java.lang.Class<P>,akka.japi.pf.FI.UnitApply<P>) cannot be referenced from a static context
  240. [error] .match(String.class, message -> {
  241. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/actors/HappyBdayActor.java:34: akka.actor.AbstractActor.Receive cannot be converted to scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
  242. [error] .build();
  243. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:12: supervisor.Supervisor is not abstract and does not override abstract method createReceive() in akka.actor.AbstractActor
  244. [error] public class Supervisor extends AbstractActor {
  245. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:40: non-static method <P>match(java.lang.Class<P>,akka.japi.pf.FI.UnitApply<P>) cannot be referenced from a static context
  246. [error] .match(Props.class, props -> {
  247. [error] /Users/aironman/akka-microservices/akkajavademo/src/main/java/supervisor/Supervisor.java:44: akka.actor.AbstractActor.Receive cannot be converted to scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
  248. [error] .build();
  249. [info] /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java: /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java uses or overrides a deprecated API.
  250. [info] /Users/aironman/akka-microservices/akkajavademo/src/main/java/injectionmodule/Config.java: Recompile with -Xlint:deprecation for details.
  251. [error] (compile:compileIncremental) javac returned nonzero exit code
  252. [error] Total time: 1 s, completed 7 mar. 2019 17:39:51
  253. > exit
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement