iMinusMinus opened a new issue #13833:
URL: https://github.com/apache/shardingsphere/issues/13833
ShardingSphere 5.0
ShardingSphere-Proxy
unzip and run shardingsphere normally, console output 'ShardingSphere-Proxy
start success'
### Actual behavior
Exception in thread "main" java.io.FileNotFoundException:
D:\Program%20Files\apache-shardingsphere-5.0.0-shardingsphere-proxy-bin\conf\server.yaml
(系统找不到指定的路径。)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at
org.apache.shardingsphere.infra.yaml.engine.YamlEngine.unmarshal(YamlEngine.java:53)
at
org.apache.shardingsphere.proxy.config.ProxyConfigurationLoader.loadServerConfiguration(ProxyConfigurationLoader.java:71)
at
org.apache.shardingsphere.proxy.config.ProxyConfigurationLoader.load(ProxyConfigurationLoader.java:58)
at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:46)
### Reason analyze (If you can)
sharding-proxy distribution was under path "Program Files", when use
Class.getResource, blank character was replaced by '%20', then file not found.
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule
configuration, when exception occur etc.
Windows OS, place sharding-proxy binary to path with blank, like 'C:\Program
Files\', then run start.bat
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]