shardingDataSource : {
type : "com.dangdang.ddframe.rdb.sharding.config.yaml.api.YamlShardingDataSource",
args : [{file:"sharding-jdbc.yaml"}]
}
because:java.io.FileNotFoundException: file:\D:\git\vedio\vedio-parent\vedio-core\target\vedio-core-0.0.1-SNAPSHOT-jar-with-dependencies.jar!\sharding-jdbc.yaml (文件名、目录名或卷标语法不正确。)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:25)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:114)
... 10 more
Caused by: java.io.FileNotFoundException: file:\D:\git\vedio\vedio-parent\vedio-core\target\vedio-core-0.0.1-SNAPSHOT-jar-with-dependencies.jar!\sharding-jdbc.yaml (文件名、目录名或卷标语法不正确。)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.dangdang.ddframe.rdb.sharding.config.yaml.api.YamlShardingDataSource.unmarshal(YamlShardingDataSource.java:56)
at com.dangdang.ddframe.rdb.sharding.config.yaml.api.YamlShardingDataSource.<init>(YamlShardingDataSource.java:43)
at com.dangdang.ddframe.rdb.sharding.config.yaml.api.YamlShardingDataSource$FC$33c11f0522e62aeabcf71f001c8949a2.invoke(YamlShardingDataSource.java)
at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
... 12 more
eclipse启动没问题,cmd jar 启动就报错了