Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run chat example #43

Open
alexandrmiee opened this issue Jun 15, 2019 · 1 comment
Open

Cannot run chat example #43

alexandrmiee opened this issue Jun 15, 2019 · 1 comment
Labels

Comments

@alexandrmiee
Copy link

Create project from https://github.com/playframework/play-socket.io/tree/master/samples/scala/chat and ger compilation error

overriding method applicationLifecycle in trait MyApplication of type => play.api.inject.DefaultApplicationLifecycle;
 lazy value applicationLifecycle in class BuiltInComponentsFromContext of type play.api.inject.ApplicationLifecycle has incompatible type

Try with Play 2.6.23 and 2.7.2

@sn0o0py
Copy link

sn0o0py commented Jun 24, 2019

ive deleted the line
override def applicationLifecycle: DefaultApplicationLifecycle
in the MyApplicationLoader.scala file
and it works fine iguess you can just delete it and it will use the default lifecycle anyway.
(it is not an official solution and i havent read their code completely but it works )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants