Git Product home page Git Product logo

activator-play-cluster-sample's People

Contributors

jackode avatar kailuowang avatar muuki88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

activator-play-cluster-sample's Issues

Unforseen error for app.js at /public : java.lang.RuntimeException: no resource

Hello, muuki88.
Your teplate exactly what need! Thanks for the one! (and sorry for my English)
But i have problem whit it:

My environment:

  • Windows 7x64
  • Activator 1.2.10

How i make project:

activator new play-akka-cluster-sample play-akka-cluster-sample
cd play-akka-cluster-sample
sbt compile
in new concole1> sbt "project backend" "run 2551"
in new concole2> sbt "project backend" "run 2552"
in new concole3> sbt "project frontend" run

in the consoles look like evreting fine.

Than i open page "http://localhost:9000/" in my chrome browser and i see "nothing".
This is log from console3 (wher Play is running):

...
(Server started, use Ctrl+D to stop and go back to the console...)

[info] Compiling 13 Scala sources and 2 Java sources to C:\projects\play-akka-cluster-sample\frontend\target\scala-2.11\classes...
[info] JavaScript linting on 14 source(s)
[info] LESS compiling on 1 source(s)
[INFO] [09/09/2014 11:32:00.747] [play-internal-execution-context-1] [Remoting] Starting remoting
[INFO] [09/09/2014 11:32:00.819] [play-internal-execution-context-1] [Remoting] Remoting started; listening on addresses :[akka.tcp://[email protected]:54017]
[INFO] [09/09/2014 11:32:00.828] [play-internal-execution-context-1] [Cluster(akka://application)] Cluster Node [akka.tcp://[email protected]:54017] - Starting up...
[INFO] [09/09/2014 11:32:00.875] [play-internal-execution-context-1] [Cluster(akka://application)] Cluster Node [akka.tcp://[email protected]:54017] - Registered cluster JMX MBean [akka:type=Cluster]
[INFO] [09/09/2014 11:32:00.875] [play-internal-execution-context-1] [Cluster(akka://application)] Cluster Node [akka.tcp://[email protected]:54017] - Started up successfully
[info] play - Starting application default Akka system.
[info] play - Application started (Dev)
[INFO] [09/09/2014 11:32:00.948] [application-akka.actor.default-dispatcher-2] [Cluster(akka://application)] Cluster Node [akka.tcp://[email protected]:54017] - Metrics collection has started successfully
[INFO] [09/09/2014 11:32:01.112] [application-akka.actor.default-dispatcher-14] [Cluster(akka://application)] Cluster Node [akka.tcp://[email protected]:54017] - Welcome from [akka.tcp://[email protected]:2552]
[INFO] [09/09/2014 11:32:01.921] [application-akka.actor.default-dispatcher-13] [ActorSystem(application)] Factorial Service started at akka://application/user/factorialService
[debug] application - Unforseen error for app.js at /public
java.lang.RuntimeException: no resource
at controllers.Assets$$anonfun$controllers$Assets$$assetInfoFromResource$1$$anonfun$13.apply(Assets.scala:237) ~[play_2.11-2.3.1.jar:2.3.1]
at controllers.Assets$$anonfun$controllers$Assets$$assetInfoFromResource$1$$anonfun$13.apply(Assets.scala:237) ~[play_2.11-2.3.1.jar:2.3.1]
at scala.Option.getOrElse(Option.scala:120) [scala-library-2.11.1.jar:na]
at controllers.Assets$$anonfun$controllers$Assets$$assetInfoFromResource$1.apply(Assets.scala:237) ~[play_2.11-2.3.1.jar:2.3.1]
at controllers.Assets$$anonfun$controllers$Assets$$assetInfoFromResource$1.apply(Assets.scala:236) ~[play_2.11-2.3.1.jar:2.3.1]

in my Chrome-console i see:
image

it look likes the "require.js:1895" use wrong URL for load require resources,

Question

@muuki88, do you mind if I adapt your sample into an example app of my own open source library?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.