当我尝试使用 Jcloud 访问 VClouds 时出现以下错误。这个错误的可能原因是什么?当我使用浏览器访问网址时https://something.com/api/admin/org/89925701-f1f9-406d-8c9f-26b1f7ca6843/catalogs
,它会显示
无法选择有效的 API 版本
2013-08-06 17:15:54,416 错误 AllCatalogsInOrg [用户线程 4] 目录username
,完成:0/3,错误:1,速率:35ms/op org.jclouds.vcloud.VCloudResponseException:请求 GET https://something .com/api/admin/org/89925701-f1f9-406d-8c9f-26b1f7ca6843/catalogsHTTP/1.1 失败,代码 405,错误:[majorErrorCode=405, message=HTTP method not allowed, minorErrorCode=METHOD_NOT_ALLOWED, stackTrace=null, vendorSpecificErrorCode=null] at org.jclouds.vcloud.handlers.ParseVCloudErrorFromHttpResponse.handleError(ParseVCloudErrorFromHttpResponse.java :74) 在 org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.shouldContinue(BaseHttpCommandExecutorService.java:197) 在 org.jclouds.http 的 org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:69)。 internal.BaseHttpCommandExecutorService$HttpResponseCallable.call(BaseHttpCommandExecutorService.java:167) at org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.call(BaseHttpCommandExecutorService.java:135) at java.util.concurrent.FutureTask$Sync。innerRun(FutureTask.java:334) 在 java.util.concurrent.FutureTask.run(FutureTask.java:166) 在 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 在 java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) at org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89) at org.jclouds。 http.internal.BaseHttpCommandExecutorService.submit(BaseHttpCommandExecutorService.java:132) at org.jclouds.http.TransformingHttpCommandExecutorServiceImpl.submit(TransformingHttpCommandExecutorServiceImpl.java:54) at org.jclouds.http.TransformingHttpCommandImpl.execute(TransformingHttpCommandImpl.java:73) at org .jclouds.rest.internal.AsyncRestClientProxy。createListenableFutureForHttpRequestMappedToMethodAndArgs(AsyncRestClientProxy.java:248) at org.jclouds.rest.internal.AsyncRestClientProxy.invoke(AsyncRestClientProxy.java:148) at com.sun.proxy.$Proxy86.getCatalog(Unknown Source) at org.jclouds.vcloud.functions .AllCatalogsInOrg$1.apply(AllCatalogsInOrg.java:64) at org.jclouds.vcloud.functions.AllCatalogsInOrg$1.apply(AllCatalogsInOrg.java:1) at org.jclouds.concurrent.FutureIterables.transformParallel(FutureIterables.java:98) at org.jclouds.concurrent.FutureIterables.transformParallel(FutureIterables.java:86) at org.jclouds.vcloud.functions.AllCatalogsInOrg.apply(AllCatalogsInOrg.java:60) at org.jclouds.vcloud.functions.AllCatalogsInOrg.apply(AllCatalogsInOrg. java:1) 在 org.jclouds.vcloud.functions.AllCatalogItemsInOrg.apply(AllCatalogItemsInOrg.java:50) 在 org.jclouds.vcloud.functions.VAppTemplatesInOrg.apply(VAppTemplatesInOrg.java:56) 在 org.jclouds.vcloud.functions.VAppTemplatesInOrg 的 org.jclouds.vcloud.functions.AllCatalogItemsInOrg.apply(AllCatalogItemsInOrg.java:1) .apply(VAppTemplatesInOrg.java:1) at org.jclouds.vcloud.suppliers.VAppTemplatesSupplier$1$1.call(VAppTemplatesSupplier.java:82) at org.jclouds.vcloud.suppliers.VAppTemplatesSupplier$1$1.call(VAppTemplatesSupplier.java:1 ) 在 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 在 java.util.concurrent.FutureTask.run(FutureTask.java:166) 在 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1145) 在 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 在 java.lang.Thread.run(Thread.java:724) 在 org.jclouds.concurrent。org.jclouds.http.internal.BaseHttpCommandExecutorService.submit(BaseHttpCommandExecutorService.java:132) org.jclouds.http.TransformingHttpCommandExecutorServiceImpl.submit(TransformingHttpCommandExecutorServiceImpl.java:54) 上的 config.DescribeingExecutorService.submit(DescribeingExecutorService.java:89) .jclouds.http.TransformingHttpCommandImpl.execute(TransformingHttpCommandImpl.java:73) at org.jclouds.rest.internal.AsyncRestClientProxy.createListenableFutureForHttpRequestMappedToMethodAndArgs(AsyncRestClientProxy.java:248) at org.jclouds.rest.internal.AsyncRestClientProxy.invoke(AsyncRestClientProxy.java :148) com.sun.proxy.$Proxy86.getCatalog(Unknown Source) at org.jclouds.vcloud.functions.AllCatalogsInOrg$1.apply(AllCatalogsInOrg.java:64) at org.jclouds.vcloud.functions.AllCatalogsInOrg$1。apply(AllCatalogsInOrg.java:1) at org.jclouds.concurrent.FutureIterables.transformParallel(FutureIterables.java:98) at org.jclouds.concurrent.FutureIterables.transformParallel(FutureIterables.java:86) at org.jclouds.vcloud.functions .AllCatalogsInOrg.apply(AllCatalogsInOrg.java:60) 在 org.jclouds.vcloud.functions.AllCatalogsInOrg.apply(AllCatalogsInOrg.java:1) 在 org.jclouds.vcloud.functions.AllCatalogItemsInOrg.apply(AllCatalogItemsInOrg.java:50) 在org.jclouds.vcloud.functions.AllCatalogItemsInOrg.apply(AllCatalogItemsInOrg.java:1) at org.jclouds.vcloud.functions.VAppTemplatesInOrg.apply(VAppTemplatesInOrg.java:56) at org.jclouds.vcloud.functions.VAppTemplatesInOrg.apply( VAppTemplatesInOrg.java:1) 在 org.jclouds.vcloud.suppliers.VAppTemplatesSupplier$1$1.call(VAppTemplatesSupplier.java:82) 在 org.jclouds。vcloud.suppliers.VAppTemplatesSupplier$1$1.call(VAppTemplatesSupplier.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java: 166) 在 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 在 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 在 java.lang.Thread.run(Thread.java :724)爪哇:724)爪哇:724)