使用产品:9c
创建数据源时
2019-03-15T09:14:35.283213402Z Caused by: java.lang.ExceptionInInitializerError
2019-03-15T09:14:35.283223403Z at com.supermap.data.InternalHandle.<clinit>(Unknown Source)
2019-03-15T09:14:35.283272307Z String is null 0r Empty。
2019-03-15T09:14:35.283277224Z at com.supermap.data.Environment.setCurrentCulture(Unknown Source)
2019-03-15T09:14:35.283281819Z at com.supermap.data.Environment.<clinit>(Unknown Source)
代码
EngineType enginetype = EngineType.MEMORY;
Workspace w = new Workspace();
DatasourceConnectionInfo datasourceConnectionInfo = new DatasourceConnectionInfo();
datasourceConnectionInfo.setEngineType(enginetype);
datasourceConnectionInfo.setReadOnly(false);
Datasource memoryDataSource = w.getDatasources().create(datasourceConnectionInfo);
问题详细描述:
这段代码以前没问题的,代码没动过,代码会打包成docker镜像,直接用docker run命令启动正常,用阿里云docker swarm启动报这个,希望告知下出现这个错误的原因