You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/04/18 03:42:16 UTC

[GitHub] [shardingsphere-elasticjob] suiyueqiannian commented on issue #2066: Unable to locate Spring NamespaceHandler

suiyueqiannian commented on issue #2066:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2066#issuecomment-1101062362

   `<?xml version="1.0" encoding="UTF-8"?>
   <beans xmlns="http://www.springframework.org/schema/beans"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:elasticjob="http://shardingsphere.apache.org/schema/elasticjob"
          xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans.xsd
                           http://shardingsphere.apache.org/schema/elasticjob
                           http://shardingsphere.apache.org/schema/elasticjob/elasticjob.xsd">
       <elasticjob:zookeeper id="regCenter" server-lists="${dubbo.registry.address}" namespace="mbus-job" base-sleep-time-milliseconds="1000" max-sleep-time-milliseconds="3000" max-retries="3" />
   
       <elasticjob:job id="ActiveSubscriptionDpJob" cron="0 0/1 * * * ?"
                       job-ref="ActiveSubscriptionDpJob" registry-center-ref="regCenter"
                       sharding-total-count="1" overwrite="true"/>
   
   </beans>`
   
   in 3.0.1 jar file,there is no namespace, but in 2.x version, it has.


-- 
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