GMapsFX显示空白地图

时间:2020-02-11 09:51:11

标签: google-maps javafx

我有两条错误消息:

import org.elasticsearch.client.RestHighLevelClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.elasticsearch.client.ClientConfiguration;
import org.springframework.data.elasticsearch.client.RestClients;
import org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

@Configuration
@EnableElasticsearchRepositories
public class Config {
    @Bean
    RestHighLevelClient elasticsearchClient() {
        final ClientConfiguration configuration = ClientConfiguration.builder()
                .connectedTo("localhost:9200")
                .build();
        return RestClients.create(configuration).rest();
    }

    @Bean
    ElasticsearchRestTemplate elasticsearchTemplate() {
        return new ElasticsearchRestTemplate(elasticsearchClient());
    }
}

ERROR com.lynden.gmapsfx.GoogleMapView - Error: User data directory [null (C:\Users\Admin\AppData\Roaming\application.Main\webview)] is already in use

我在Eclipse上使用JAVAFX11库,我已经编辑了运行配置以添加javafx.web模块。 我认为在创建GoogleMapView对象时会出现问题,但我不知道该如何解决!感谢任何可以帮助我的人的建议。

这是我的控制器类:

INFO com.lynden.gmapsfx.GoogleMapView - Alert: Hide directions called

0 个答案:

没有答案