You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "medivh666 (via GitHub)" <gi...@apache.org> on 2023/12/05 16:27:43 UTC

[I] Unable to find property 'authority' on class [shardingsphere]

medivh666 opened a new issue, #29299:
URL: https://github.com/apache/shardingsphere/issues/29299

   Unable to find property 'authority' on class
   
   
   server.yaml
   authority:
     users:
       - user: root@%
         password: 123456
       - user: sharding
         password: sharding
     privilege:
       type: ALL_PERMITTED
   
   props:
     proxy-mysql-default-version: 8.0.35
   
   
   but report this error:
   
   Starting the Sharding-Proxy ...
   The port is configured as 3308
   Please check the STDOUT file: /opt/sharding-proxy/logs/stdout.log
           at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:410)
           at io.shardingsphere.shardingproxy.config.ShardingConfigurationLoader.loadServerConfiguration(ShardingConfigurationLoader.java:84)
           at io.shardingsphere.shardingproxy.config.ShardingConfigurationLoader.load(ShardingConfigurationLoader.java:61)
           at io.shardingsphere.shardingproxy.Bootstrap.main(Bootstrap.java:65)
   Caused by: org.yaml.snakeyaml.error.YAMLException: Unable to find property 'authority' on class: io.shardingsphere.shardingproxy.config.yaml.YamlProxyServerConfiguration
           at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:132)
           at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:121)
           at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.getProperty(Constructor.java:322)
           at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:240)
           ... 10 more
   
   
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to find property 'authority' on class [shardingsphere]

Posted by "medivh666 (via GitHub)" <gi...@apache.org>.
medivh666 commented on issue #29299:
URL: https://github.com/apache/shardingsphere/issues/29299#issuecomment-1844410080

   sorrry , I run it from an old document ,It ran successfully according to the latest documentation


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to find property 'authority' on class [shardingsphere]

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang commented on issue #29299:
URL: https://github.com/apache/shardingsphere/issues/29299#issuecomment-1842187969

   Hi @medivh666 
   I think no one can answer your issue because you did not provide enough information according to the template, such as ShardingSphere version.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to find property 'authority' on class [shardingsphere]

Posted by "medivh666 (via GitHub)" <gi...@apache.org>.
medivh666 closed issue #29299: Unable to find property 'authority' on class
URL: https://github.com/apache/shardingsphere/issues/29299


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org