BlackLabs / play-morphia

Provide mongodb access service to play.db.Model via Morphia
Apache License 2.0
130 stars 49 forks source link

[1.5.0] Missing osgl logging #121

Closed shoon closed 10 years ago

shoon commented 10 years ago

The error occured in a model that had a morphia blob:

NoClassDefFoundError occured : org/osgl/logging/L

play.exceptions.JavaExecutionException: org/osgl/logging/L
        at play.mvc.ActionInvoker.invoke(ActionInvoker.java:237)
        at Invocation.HTTP Request(Play!)
Caused by: java.lang.NoClassDefFoundError: org/osgl/logging/L
        at org.osgl.storage.impl.StorageServiceBase.<clinit>(StorageServiceBase.java:17)
        at play.modules.morphia.MorphiaPlugin.bss(MorphiaPlugin.java:375)

I resolved it by downloading the osgl-logging-0.3-SNAPSHOT.jar into the module's lib directory. I'm guessing this needs to be in the pom

Edit - I see the pom.xml is correct on github but the module installed from the official repository is missing the logging. http://gelinsoft.com/play/repo/morphia-1.5.0.zip

greenlaw110 commented 10 years ago

I've released morphia-1.5.0a.zip with the missing jar fiile included. Please try it

shoon commented 10 years ago

Fixed now. Thank you.