jclouds Guice creation error
用jclouds舊lib會有Error,如果java version 大過1.7.0_45,用java 1.8一樣會有
解決方法:一係downgrade java, 一係upgrade jcloud,但jclouds搬左去apache,同埋個interface 唔同晒…
com.google.inject.CreationException: Guice creation errors:
1) org.jclouds.rest.RestContext
1 error
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
at com.google.inject.Guice.createInjector(Guice.java:95)
at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:401)
ref: http://stackoverflow.com/questions/21536498/error-creating-blobcontext-using-jclouds-in-a-spring-mvc-application
沒有留言:
發佈留言