jclouds with OpenStack => java.util.NoSuchElementException: apiType compute not found in catalog []
问题 Java jclouds API fails to connect to an OpenStack provider. Exception is thrown with the following message: java.util.NoSuchElementException: apiType compute not found in catalog []. Other APIs (python-novaclient, ruby-fog) work just fine, so the problem looks language (API)-specific. import static com.google.common.io.Closeables.closeQuietly; import java.io.Closeable; import java.util.Set; import org.jclouds.ContextBuilder; import org.jclouds.compute.ComputeService; import org.jclouds