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

Issues with Scala Play #12

Open
tgfitz201 opened this issue Nov 24, 2015 · 0 comments
Open

Issues with Scala Play #12

tgfitz201 opened this issue Nov 24, 2015 · 0 comments

Comments

@tgfitz201
Copy link

I have tried numerous work arounds.
I am stuck with the following issue trying to reference this:
GET /api-docs.json @pl.matisoft.swagger.ApiHelpController.getResources

CreationException: Unable to create injector, see the following errors:

  1. Error injecting constructor, java.lang.NoClassDefFoundError: play/core/Router$Routes
    at router.Routes.(Routes.scala:18)
    while locating router.Routes
    while locating play.api.inject.RoutesProvider
    while locating play.api.routing.Router
    for field at pl.matisoft.swagger.SwaggerPluginProvider.router(SwaggerPluginProvider.scala:18)
    while locating pl.matisoft.swagger.SwaggerPluginProvider
    at pl.matisoft.swagger.SwaggerModule.bindings(SwaggerModule.scala:24):
    Binding(class pl.matisoft.swagger.SwaggerPlugin to ProviderConstructionTarget(class pl.matisoft.swagger.SwaggerPluginProvider) eagerly) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$1)
    while locating pl.matisoft.swagger.SwaggerPlugin
    Caused by: java.lang.NoClassDefFoundError: play/core/Router$Routes
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant