Description
The 3.0 beta 4 build breaks while trying to integrate the Mysql DB instead of the JsonDB.
1) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=shindig.contextroot) was bound.
while locating java.lang.String annotated with @com.google.inject.name.Named(value=shindig.contextroot)
for parameter 2 at org.apache.shindig.social.sample.spi.JsonDbOpensocialService.<init>(JsonDbOpensocialService.java:153)
while locating org.apache.shindig.social.sample.spi.JsonDbOpensocialService
for parameter 0 at org.apache.shindig.social.sample.oauth.SampleOAuthDataStore.<init>(SampleOAuthDataStore.java:60)
at org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule.configure(JPASocialModule.java:101)
2) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=shindig.oauth.base-url) was bound.
while locating java.lang.String annotated with @com.google.inject.name.Named(value=shindig.oauth.base-url)
for parameter 1 at org.apache.shindig.social.sample.oauth.SampleOAuthDataStore.<init>(SampleOAuthDataStore.java:60)
at org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule.configure(JPASocialModule.java:101)
3) No implementation for org.apache.shindig.protocol.conversion.BeanConverter annotated with @com.google.inject.name.Named(value=shindig.bean.converter.json) was bound.
while locating org.apache.shindig.protocol.conversion.BeanConverter annotated with @com.google.inject.name.Named(value=shindig.bean.converter.json)
for parameter 1 at org.apache.shindig.social.sample.spi.JsonDbOpensocialService.<init>(JsonDbOpensocialService.java:153)
while locating org.apache.shindig.social.sample.spi.JsonDbOpensocialService
for parameter 0 at org.apache.shindig.social.sample.oauth.SampleOAuthDataStore.<init>(SampleOAuthDataStore.java:60)
at org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule.configure(JPASocialModule.java:101)
4) No implementation for org.apache.shindig.protocol.conversion.xstream.XStreamConfiguration was bound.
while locating org.apache.shindig.protocol.conversion.xstream.XStreamConfiguration
for parameter 0 at org.apache.shindig.social.core.util.BeanXStreamAtomConverter.<init>(BeanXStreamAtomConverter.java:38)
at org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule.configure(JPASocialModule.java:100)
4 errors
bootstrap(org.apache.shindig.social.opensocial.jpa.test.JPASocialModuleTest): Guice creation errors:
What exactly are you trying to use mysql for? In general any kind of persistence can be used you just need to provide your own implementations for interfaces responsible for persistence and inject them via Guice.