学习nutzboot+dubbo+zookeeper的时候总是报这个错。运行 nutzboot-demo-dubbo 的时候也是这个错,jdk1.8。 请问下大神们是否哪里没有配置对的?
启动日志如下:
[INFO ] 18:14:59.138 org.nutz.boot.banner.SimpleBannerPrinter.printBanner(SimpleBannerPrinter.java:34) -
_ _ ______ ___
| \ | || ___ \ ______ ______ ______ ______ ______| \ \
| \| || |_/ / |______|______|______|______|______| |\ \
| . ` || ___ \ ______ ______ ______ ______ ______| | > >
| |\ || |_/ / |______|______|______|______|______| |/ /
\_| \_/\____/ |_/_/
:: Nutz Boot :: (2.4.2.v20201205)
[DEBUG] 18:14:59.172 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=100 time use 27ms
[DEBUG] 18:14:59.177 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( custom/ ) , regex( ^.+[.]properties$ )
[DEBUG] 18:14:59.177 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:106) - load properties from File[D:\work\jee2.workspace\nutzboot-dev\nutzboot-core\target\classes\custom\emtry.properties]
[DEBUG] 18:14:59.178 org.nutz.boot.config.impl.PropertiesConfigureLoader.init(PropertiesConfigureLoader.java:38) - load D:\work\jee2.workspace\testone\target\classes\application.properties
[DEBUG] 18:14:59.188 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 18:14:59.189 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [emtry.json]
[DEBUG] 18:14:59.189 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define from path=[ioc/] --> []
[DEBUG] 18:14:59.217 org.nutz.castor.Castors.reload(Castors.java:116) - Using 107 castor for Castors
[DEBUG] 18:14:59.219 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
[INFO ] 18:14:59.219 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:47) - > scan 'com.e0will.testone'
[DEBUG] 18:14:59.221 org.nutz.resource.Scans.scan(Scans.java:280) - Found 6 resource by src( com/e0will/testone/ ) , regex( ^.+[.]class$ )
[INFO ] 18:14:59.228 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'testServiceImpl ' - com.e0will.testone.iservice.TestServiceImpl
[INFO ] 18:14:59.229 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'mainLauncher ' - com.e0will.testone.MainLauncher
[INFO ] 18:14:59.241 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'timeModule ' - com.e0will.testone.module.TimeModule
[INFO ] 18:14:59.246 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'userModule ' - com.e0will.testone.module.UserModule
[INFO ] 18:14:59.254 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:47) - > scan 'org.nutz.boot.starter'
[DEBUG] 18:14:59.258 org.nutz.resource.Scans.scan(Scans.java:280) - Found 27 resource by src( org/nutz/boot/starter/ ) , regex( ^.+[.]class$ )
[INFO ] 18:14:59.270 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'dubboStarter ' - org.nutz.boot.starter.dubbo.DubboStarter
[INFO ] 18:14:59.271 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'swaggerServletStarter ' - org.nutz.boot.starter.swagger.SwaggerServletStarter
[DEBUG] 18:14:59.273 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : SwaggerServletStarter.createSwagger(...) define as name=swagger
[DEBUG] 18:14:59.273 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : SwaggerServletStarter.createSwaggerInfo(...) define as name=swaggerInfo
[INFO ] 18:14:59.275 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'nutFilterStarter ' - org.nutz.boot.starter.nutz.mvc.NutFilterStarter
[DEBUG] 18:14:59.276 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : NutFilterStarter.createNutFilter(...) define as name=nutFilter
[INFO ] 18:14:59.276 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'whaleFilterStarter ' - org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter
[DEBUG] 18:14:59.277 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : WhaleFilterStarter.createNutFilter(...) define as name=whaleFilter
[INFO ] 18:14:59.277 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'nutDaoStarter ' - org.nutz.boot.starter.nutz.dao.NutDaoStarter
[DEBUG] 18:14:59.281 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : NutDaoStarter.createCacheSerializer(...) define as name=daoCacheSerializer
[DEBUG] 18:14:59.281 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : NutDaoStarter.createDaoCacheInterceptor(...) define as name=daoCacheInterceptor
[DEBUG] 18:14:59.281 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : NutDaoStarter.getDao(...) define as name=dao
[DEBUG] 18:14:59.283 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : NutDaoStarter.getSqlManager(...) define as name=sqlManager
[INFO ] 18:14:59.284 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'jettyStarter ' - org.nutz.boot.starter.jetty.JettyStarter
[DEBUG] 18:14:59.296 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : JettyStarter.getJettyServer(...) define as name=jettyServer
[INFO ] 18:14:59.297 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'nbServletContextListener ' - org.nutz.boot.starter.servlet3.NbServletContextListener
[INFO ] 18:14:59.298 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'dataSourceStarter ' - org.nutz.boot.starter.jdbc.DataSourceStarter
[DEBUG] 18:14:59.298 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : DataSourceStarter.createDruidDataSource(...) define as name=druidDataSource
[DEBUG] 18:14:59.298 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : DataSourceStarter.createHikariCPDataSource(...) define as name=hikariDataSource
[DEBUG] 18:14:59.298 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : DataSourceStarter.getDataSource(...) define as name=dataSource
[INFO ] 18:14:59.298 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'druidWebStatFilterStarter ' - org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter
[INFO ] 18:14:59.298 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'druidWebStatServletStarter ' - org.nutz.boot.starter.jdbc.DruidWebStatServletStarter
[INFO ] 18:14:59.299 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'nutMongoDbStarter ' - org.nutz.boot.starter.mongodb.NutMongoDbStarter
[DEBUG] 18:14:59.304 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : NutMongoDbStarter.createMongoClientOptions(...) define as name=mongoClientOptions
[DEBUG] 18:14:59.304 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : NutMongoDbStarter.getServerAddressList(...) define as name=mongodbServerAddressList
[DEBUG] 18:14:59.304 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : NutMongoDbStarter.getCredentialList(...) define as name=mongodbCredentialList
[DEBUG] 18:14:59.304 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : NutMongoDbStarter.getZMongo(...) define as name=zmongo
[DEBUG] 18:14:59.304 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : NutMongoDbStarter.createMongoClient(...) define as name=mongoClient
[DEBUG] 18:14:59.304 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:300) - Found @IocBean method : NutMongoDbStarter.getZMoDB(...) define as name=zmodb
[DEBUG] 18:14:59.306 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:430) - Found file:/D:/work/jee2.workspace/nutzboot-dev/nutzboot-starter/nutzboot-starter-dubbo/target/classes/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 18:14:59.306 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:430) - Found file:/D:/work/jee2.workspace/nutzboot-dev/nutzboot-starter/nutzboot-starter-swagger/target/classes/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 18:14:59.306 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:430) - Found file:/D:/work/jee2.workspace/nutzboot-dev/nutzboot-starter/nutzboot-starter-nutz-mvc/target/classes/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 18:14:59.306 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:430) - Found file:/D:/work/jee2.workspace/nutzboot-dev/nutzboot-starter/nutzboot-starter-nutz-dao/target/classes/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 18:14:59.307 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:430) - Found file:/D:/work/jee2.workspace/nutzboot-dev/nutzboot-starter/nutzboot-starter-jetty/target/classes/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 18:14:59.307 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:430) - Found file:/D:/work/jee2.workspace/nutzboot-dev/nutzboot-starter/nutzboot-starter-jdbc/target/classes/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 18:14:59.307 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:430) - Found file:/D:/work/jee2.workspace/nutzboot-dev/nutzboot-starter/nutzboot-starter-mongodb/target/classes/META-INF/nutz/org.nutz.boot.starter.NbStarter
[INFO ] 18:14:59.330 org.nutz.boot.NbApp.prepare(NbApp.java:310) - Configure Manual:
|id |key |required |Possible Values |Default |Description | starters|
|----|----------------------------------------|----------|--------------------|----------|--------------------|----------------------------------------|
|0 |druid.web.filter.exclusions |no | | |需要排除的路径 |org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter|
|1 |druid.web.filter.principalCookieName |no | | |用户权限信息的cookie属性名称 |org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter|
|2 |druid.web.filter.principalSessionName |no | | |用户权限信息的session属性名称 |org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter|
|3 |druid.web.filter.profileEnable |no | | |是否开启性能监控 |org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter|
|4 |druid.web.filter.realIpHeader |no | | |Header中ReadIp对应的key |org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter|
|5 |druid.web.filter.sessionStatEnable |no | |true |是否开启session状态监控 |org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter|
|6 |druid.web.filter.sessionStatMaxCount |no | | |session最大状态数量 |org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter|
|7 |druid.web.servlet.allow |no | | |允许访问的ip列表 |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|8 |druid.web.servlet.deny |no | | |禁止访问的ip列表 |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|9 |druid.web.servlet.enable |no | |true |是否启动monitor页面 |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|10 |druid.web.servlet.jmxPassword |no | | |JMX的密码 |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|11 |druid.web.servlet.jmxUrl |no | | |读取JMX信息的URL |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|12 |druid.web.servlet.jmxUsername |no | | |JMX的用户名 |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|13 |druid.web.servlet.loginPassword |no | |随机值,打印在日志中|访问monitor页面的密码 |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|14 |druid.web.servlet.loginUsername |no | |driud |访问monitor页面的用户名 |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|15 |druid.web.servlet.resetEnable |no | |true |是否允许重置统计结果 |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|16 |jdbc.password |no | | |数据库密码 |org.nutz.boot.starter.jdbc.DataSourceStarter|
|17 |jdbc.type |no |druid,simple,hikari |druid |连接池类型 |org.nutz.boot.starter.jdbc.DataSourceStarter|
|18 |jdbc.url |yes | | |JDBC URL |org.nutz.boot.starter.jdbc.DataSourceStarter|
|19 |jdbc.username |no | | |数据库用户名 |org.nutz.boot.starter.jdbc.DataSourceStarter|
|20 |jetty.contextPath |no | |/ |上下文路径 |org.nutz.boot.starter.jetty.JettyStarter|
|21 |jetty.extports |no | | |配置多个端口监听 |org.nutz.boot.starter.jetty.JettyStarter|
|22 |jetty.gzip.enable |no | |false |是否启用gzip |org.nutz.boot.starter.jetty.JettyStarter|
|23 |jetty.gzip.level |no | |-1 |gzip压缩级别 |org.nutz.boot.starter.jetty.JettyStarter|
|24 |jetty.gzip.minContentSize |no | |512 |gzip压缩最小触发大小 |org.nutz.boot.starter.jetty.JettyStarter|
|25 |jetty.host |no | |0.0.0.0 |监听的ip地址 |org.nutz.boot.starter.jetty.JettyStarter|
|26 |jetty.http.idleTimeout |no | |300000 |空闲时间,单位毫秒 |org.nutz.boot.starter.jetty.JettyStarter|
|27 |jetty.httpConfig.blockingTimeout |no | |-1 |阻塞超时 |org.nutz.boot.starter.jetty.JettyStarter|
|28 |jetty.httpConfig.headerCacheSize |no | |8192 |头部缓冲区大小 |org.nutz.boot.starter.jetty.JettyStarter|
|29 |jetty.httpConfig.maxErrorDispatches |no | |10 |最大错误重定向次数 |org.nutz.boot.starter.jetty.JettyStarter|
|30 |jetty.httpConfig.outputAggregationSize |no | |8192 |输出聚合大小 |org.nutz.boot.starter.jetty.JettyStarter|
|31 |jetty.httpConfig.outputBufferSize |no | |32768 |输出缓冲区大小 |org.nutz.boot.starter.jetty.JettyStarter|
|32 |jetty.httpConfig.persistentConnectionsEnabled|no | |true |是否启用持久化连接 |org.nutz.boot.starter.jetty.JettyStarter|
|33 |jetty.httpConfig.requestHeaderSize |no | |8192 |请求的头部最大值 |org.nutz.boot.starter.jetty.JettyStarter|
|34 |jetty.httpConfig.responseHeaderSize |no | |8192 |响应的头部最大值 |org.nutz.boot.starter.jetty.JettyStarter|
|35 |jetty.httpConfig.securePort |no | | |安全协议的端口,例如8443 |org.nutz.boot.starter.jetty.JettyStarter|
|36 |jetty.httpConfig.secureScheme |no | | |安全协议,例如https |org.nutz.boot.starter.jetty.JettyStarter|
|37 |jetty.httpConfig.sendDateHeader |no | |true |是否发送日期信息 |org.nutz.boot.starter.jetty.JettyStarter|
|38 |jetty.httpConfig.sendServerVersion |no | |true |是否发送jetty版本号 |org.nutz.boot.starter.jetty.JettyStarter|
|39 |jetty.https.keystore.password |no | | |Https的KeyStore的密码 |org.nutz.boot.starter.jetty.JettyStarter|
|40 |jetty.https.keystore.path |no | | |Https的KeyStore路径 |org.nutz.boot.starter.jetty.JettyStarter|
|41 |jetty.https.port |no | | |Https端口号 |org.nutz.boot.starter.jetty.JettyStarter|
|42 |jetty.maxFormContentSize |no | |1gb |表单最大尺寸 |org.nutz.boot.starter.jetty.JettyStarter|
|43 |jetty.maxFormKeys |no | |1000 |表单最大key数量 |org.nutz.boot.starter.jetty.JettyStarter|
|44 |jetty.page.404 |no | | |自定义404页面,同理,其他状态码也是支持的|org.nutz.boot.starter.jetty.JettyStarter|
|45 |jetty.page.java.lang.Throwable |no | | |自定义java.lang.Throwable页面,同理,其他异常也支持|org.nutz.boot.starter.jetty.JettyStarter|
|46 |jetty.port |no | |8080 |监听的端口 |org.nutz.boot.starter.jetty.JettyStarter|
|47 |jetty.session.cookie.domain |no | | |设置cookie的domain |org.nutz.boot.starter.jetty.JettyStarter|
|48 |jetty.session.cookie.httponly |no | |false |cookie是否设置HttpOnly |org.nutz.boot.starter.jetty.JettyStarter|
|49 |jetty.session.cookie.name |no | | |设置cookie的name |org.nutz.boot.starter.jetty.JettyStarter|
|50 |jetty.session.cookie.path |no | | |设置cookie的path |org.nutz.boot.starter.jetty.JettyStarter|
|51 |jetty.session.cookie.secure |no | |false |cookie是否设置Secure |org.nutz.boot.starter.jetty.JettyStarter|
|52 |jetty.session.file.storeDir |no | |./session |session持久化,file所用的目录|org.nutz.boot.starter.jetty.JettyStarter|
|53 |jetty.session.ioc.datastore |no | |jettySessionDataStore|session持久化,SessionDataStore对应的ioc名称|org.nutz.boot.starter.jetty.JettyStarter|
|54 |jetty.session.jdbc.datasource.iocname |no | |dataSource|session持久化,jdbc所用数据库源的ioc名称|org.nutz.boot.starter.jetty.JettyStarter|
|55 |jetty.session.store.enable |no | |false |是否启用session持久化 |org.nutz.boot.starter.jetty.JettyStarter|
|56 |jetty.session.store.type |no |jdbc,file,ioc,redis |jdbc |session持久化类型 |org.nutz.boot.starter.jetty.JettyStarter|
|57 |jetty.sessionScavengeInterval.seconds |no | |600 |扫描session过期的间隔 |org.nutz.boot.starter.jetty.JettyStarter|
|58 |jetty.staticPath |no | | |额外的静态文件路径 |org.nutz.boot.starter.jetty.JettyStarter|
|59 |jetty.staticPathLocal |no | | |静态文件所在的本地路径 |org.nutz.boot.starter.jetty.JettyStarter|
|60 |jetty.tempdir |no | |./temp |设置jetty的临时目录 |org.nutz.boot.starter.jetty.JettyStarter|
|61 |jetty.threadpool.idleTimeout |no | |60000 |线程池idleTimeout,单位毫秒 |org.nutz.boot.starter.jetty.JettyStarter|
|62 |jetty.threadpool.maxThreads |no | |500 |线程池最大线程数maxThreads |org.nutz.boot.starter.jetty.JettyStarter|
|63 |jetty.threadpool.minThreads |no | |200 |线程池最小线程数minThreads |org.nutz.boot.starter.jetty.JettyStarter|
|64 |jetty.welcome_files |no | |index.html,index.htm,index.do|WelcomeFile列表 |org.nutz.boot.starter.jetty.JettyStarter|
|65 |mongo.connectTimeout |no | |1000*10 |连接超时时间 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|66 |mongo.dbname |yes | | |数据库名称 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|67 |mongo.hosts |no | | |服务器列表,逗号分隔 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|68 |mongo.ip |no | |127.0.0.1 |数据库ip |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|69 |mongo.maxConnectionsPerHost |no | |100 |最大连接数 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|70 |mongo.maxWaitTime |no | |1000*60*2 |最大等待可用连接时间 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|71 |mongo.minConnectionsPerHost |no | |0 |最小连接数 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|72 |mongo.password |no | | |数据库密码 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|73 |mongo.port |no | |27017 |数据库port |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|74 |mongo.readConcern |no | | |读取策略 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|75 |mongo.readPreference |no | | |读取优先策略 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|76 |mongo.socketTimeout |no | |0 |套接字超时时间 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|77 |mongo.source |no | | |数据库用户所在的源数据库 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|78 |mongo.threadsAllowedToBlockForConnectionMultiplier|no | |5 |线程队列数 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|79 |mongo.uri |no | | |基于Mongo URI创建链接 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|80 |mongo.username |no | | |数据库用户名 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|81 |mongo.writeConcern |no | | |写入策略 |org.nutz.boot.starter.mongodb.NutMongoDbStarter|
|82 |nutz.dao.interceptor.cache.cache4Null |no | |true |是否缓存null结果 |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|83 |nutz.dao.interceptor.cache.debug |no | |false |打印daocache详细调试日志 |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|84 |nutz.dao.interceptor.cache.enable |no | |false |是否使用daocache |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|85 |nutz.dao.interceptor.cache.enableWhenTrans|no | |false |事务内是否启用daocache |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|86 |nutz.dao.interceptor.cache.provider.ioc.name|no | |daoCacheProvider|daocache提供者DaoCacheProvider的IocBean名称|org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|87 |nutz.dao.interceptor.cache.provider.memory.cacheSize|no | | |daocache提供者MemoryDaoCacheProvider的默认缓存大小|org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|88 |nutz.dao.interceptor.cache.provider.type|no |memory,ehcache,jedis,ioc|memory |daocache提供者 |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|89 |nutz.dao.interceptor.cache.table.names |no | | |需要缓存的表名称,英文逗号分隔 |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|90 |nutz.dao.interceptor.cache.table.pattern|no | | |需要缓存的表名称的正则表达式 |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|91 |nutz.dao.interceptor.log.enable |no | |true |是否打印dao的SQL日志 |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|92 |nutz.dao.interceptor.time.enable |no | |false |是否打印dao的SQL耗时日志 |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|93 |nutz.dao.sqls.path |no | |sqls/ |sql目录 |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|94 |nutz.mvc.exclusions |no | | |排除指定请求路径的正则表达式 |org.nutz.boot.starter.nutz.mvc.NutFilterStarter|
|95 |nutz.mvc.ignore |no | | |过滤指定请求路径的正则表达式 |org.nutz.boot.starter.nutz.mvc.NutFilterStarter|
|96 |nutz.mvc.whale.enc.input |no | |UTF-8 |在其他Filter之前设置input编码|org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter|
|97 |nutz.mvc.whale.enc.output |no | |UTF-8 |在其他Filter之前设置output编码|org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter|
|98 |nutz.mvc.whale.http.hidden_method_param |no | | |隐形http方法参数转换所对应的参数名 |org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter|
|99 |nutz.mvc.whale.http.method_override |no | |false |是否允许使用X-HTTP-Method-Override|org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter|
|100 |nutz.mvc.whale.upload.enable |no | |false |是否启用隐形Upload支持 |org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter|
|101 |swagger.enable |no | |true |是否启用swagger |org.nutz.boot.starter.swagger.SwaggerServletStarter|
|102 |web.filter.chain.path |no | | |指定Chain文件路径 |org.nutz.boot.starter.nutz.mvc.NutFilterStarter|
|103 |web.filter.order.nutz |no | | |指定NutFilter执行顺序 |org.nutz.boot.starter.nutz.mvc.NutFilterStarter|
|104 |web.session.timeout |no | |30 |Session空闲时间,单位分钟 |org.nutz.boot.starter.jetty.JettyStarter|
[INFO ] 18:14:59.335 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:130) - ... NutIoc init complete
[DEBUG] 18:14:59.335 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'appContext' to [app]
[DEBUG] 18:14:59.335 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'conf' to [app]
[DEBUG] 18:14:59.335 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'nbApp' to [app]
[DEBUG] 18:14:59.336 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'counterService' to [app]
[DEBUG] 18:14:59.338 org.nutz.boot.starter.dubbo.DubboIocLoaderStarter.getIocLoader(DubboIocLoaderStarter.java:34) - using dubbo configure from PropertiesProxy
[DEBUG] 18:14:59.338 org.nutz.boot.AppContext.getServerPort(AppContext.java:348) - select random port=8956 for dubbo.protocol.port
[INFO ] 18:14:59.342 - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
[DEBUG] 18:14:59.352 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dubboStarter'<class org.nutz.boot.starter.dubbo.DubboStarter>
[DEBUG] 18:14:59.352 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 18:14:59.353 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=$aop_async
[DEBUG] 18:14:59.353 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject($aop_async) in AsyncAopIocLoader@1529115495
[DEBUG] 18:14:59.353 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 18:14:59.354 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object '$aop_async' to [app]
[DEBUG] 18:14:59.384 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
[DEBUG] 18:14:59.384 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=dubboStarter
[DEBUG] 18:14:59.384 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(dubboStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 18:14:59.384 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'dubboStarter'<class org.nutz.boot.starter.dubbo.DubboStarter>
[DEBUG] 18:14:59.384 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'dubboStarter' to [app]
[DEBUG] 18:14:59.384 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.boot.starter.dubbo.DubboStarter without AOP
[DEBUG] 18:14:59.385 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'swaggerServletStarter'<class org.nutz.boot.starter.swagger.SwaggerServletStarter>
[DEBUG] 18:14:59.385 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=swaggerServletStarter
[DEBUG] 18:14:59.385 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(swaggerServletStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 18:14:59.385 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'swaggerServletStarter'<class org.nutz.boot.starter.swagger.SwaggerServletStarter>
[DEBUG] 18:14:59.385 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'swaggerServletStarter' to [app]
[DEBUG] 18:14:59.386 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.boot.starter.swagger.SwaggerServletStarter without AOP
[DEBUG] 18:14:59.386 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 18:14:59.387 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'appContext'<class org.nutz.boot.AppContext>
[DEBUG] 18:14:59.387 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'nutFilterStarter'<class org.nutz.boot.starter.nutz.mvc.NutFilterStarter>
[DEBUG] 18:14:59.387 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=nutFilterStarter
[DEBUG] 18:14:59.387 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(nutFilterStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 18:14:59.387 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'nutFilterStarter'<class org.nutz.boot.starter.nutz.mvc.NutFilterStarter>
[DEBUG] 18:14:59.387 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'nutFilterStarter' to [app]
[DEBUG] 18:14:59.387 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.boot.starter.nutz.mvc.NutFilterStarter without AOP
[DEBUG] 18:14:59.387 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 18:14:59.388 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'appContext'<class org.nutz.boot.AppContext>
[DEBUG] 18:14:59.388 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'whaleFilterStarter'<class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter>
[DEBUG] 18:14:59.388 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=whaleFilterStarter
[DEBUG] 18:14:59.388 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(whaleFilterStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 18:14:59.388 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'whaleFilterStarter'<class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter>
[DEBUG] 18:14:59.388 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'whaleFilterStarter' to [app]
[DEBUG] 18:14:59.388 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter without AOP
[DEBUG] 18:14:59.388 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 18:14:59.388 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'nutDaoStarter'<class org.nutz.boot.starter.nutz.dao.NutDaoStarter>
[DEBUG] 18:14:59.389 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=nutDaoStarter
[DEBUG] 18:14:59.389 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(nutDaoStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 18:14:59.389 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'nutDaoStarter'<class org.nutz.boot.starter.nutz.dao.NutDaoStarter>
[DEBUG] 18:14:59.389 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'nutDaoStarter' to [app]
[DEBUG] 18:14:59.389 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.boot.starter.nutz.dao.NutDaoStarter without AOP
[DEBUG] 18:14:59.389 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 18:14:59.393 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'jettyStarter'<class org.nutz.boot.starter.jetty.JettyStarter>
[DEBUG] 18:14:59.393 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=jettyStarter
[DEBUG] 18:14:59.393 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(jettyStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 18:14:59.393 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'jettyStarter'<class org.nutz.boot.starter.jetty.JettyStarter>
[DEBUG] 18:14:59.393 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'jettyStarter' to [app]
[DEBUG] 18:14:59.393 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.boot.starter.jetty.JettyStarter without AOP
[DEBUG] 18:14:59.394 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 18:14:59.394 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'appContext'<class org.nutz.boot.AppContext>
[DEBUG] 18:14:59.394 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dataSourceStarter'<class org.nutz.boot.starter.jdbc.DataSourceStarter>
[DEBUG] 18:14:59.394 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=dataSourceStarter
[DEBUG] 18:14:59.394 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(dataSourceStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 18:14:59.394 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'dataSourceStarter'<class org.nutz.boot.starter.jdbc.DataSourceStarter>
[DEBUG] 18:14:59.394 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'dataSourceStarter' to [app]
[DEBUG] 18:14:59.394 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.boot.starter.jdbc.DataSourceStarter without AOP
[DEBUG] 18:14:59.395 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 18:14:59.395 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'druidWebStatFilterStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter>
[DEBUG] 18:14:59.395 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=druidWebStatFilterStarter
[DEBUG] 18:14:59.395 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(druidWebStatFilterStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 18:14:59.395 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'druidWebStatFilterStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter>
[DEBUG] 18:14:59.395 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'druidWebStatFilterStarter' to [app]
[DEBUG] 18:14:59.395 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter without AOP
[DEBUG] 18:14:59.395 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 18:14:59.395 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'druidWebStatServletStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatServletStarter>
[DEBUG] 18:14:59.395 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=druidWebStatServletStarter
[DEBUG] 18:14:59.395 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(druidWebStatServletStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 18:14:59.395 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'druidWebStatServletStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatServletStarter>
[DEBUG] 18:14:59.395 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'druidWebStatServletStarter' to [app]
[DEBUG] 18:14:59.396 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.boot.starter.jdbc.DruidWebStatServletStarter without AOP
[DEBUG] 18:14:59.396 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 18:14:59.396 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'nutMongoDbStarter'<class org.nutz.boot.starter.mongodb.NutMongoDbStarter>
[DEBUG] 18:14:59.396 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=nutMongoDbStarter
[DEBUG] 18:14:59.396 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(nutMongoDbStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 18:14:59.396 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'nutMongoDbStarter'<class org.nutz.boot.starter.mongodb.NutMongoDbStarter>
[DEBUG] 18:14:59.396 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'nutMongoDbStarter' to [app]
[DEBUG] 18:14:59.396 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.boot.starter.mongodb.NutMongoDbStarter without AOP
[DEBUG] 18:14:59.397 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[INFO ] 18:14:59.412 org.eclipse.jetty.util.log.Log.initialized(Log.java:170) - Logging initialized @549ms to org.eclipse.jetty.util.log.Slf4jLog
[DEBUG] 18:14:59.448 org.nutz.boot.starter.jetty.JettyStarter.init(JettyStarter.java:226) - jetty http add port: 9090
[DEBUG] 18:14:59.479 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'nbServletContextListener'<class org.nutz.boot.starter.servlet3.NbServletContextListener>
[DEBUG] 18:14:59.479 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=nbServletContextListener
[DEBUG] 18:14:59.479 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(nbServletContextListener) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 18:14:59.479 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'nbServletContextListener'<class org.nutz.boot.starter.servlet3.NbServletContextListener>
[DEBUG] 18:14:59.479 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'nbServletContextListener' to [app]
[DEBUG] 18:14:59.479 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.boot.starter.servlet3.NbServletContextListener without AOP
[DEBUG] 18:14:59.480 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'appContext'<class org.nutz.boot.AppContext>
[DEBUG] 18:14:59.535 org.nutz.resource.Scans.scan(Scans.java:280) - Found 6 resource by src( com/e0will/testone/ ) , regex( ^.+[.]class$ )
[DEBUG] 18:14:59.536 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dubboStarter'<interface org.nutz.boot.starter.ServerFace>
[DEBUG] 18:14:59.536 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'jettyStarter'<interface org.nutz.boot.starter.ServerFace>
[DEBUG] 18:14:59.537 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
[DEBUG] 18:14:59.537 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=dubboManager
[DEBUG] 18:14:59.537 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(dubboManager) in DubboConfigIocLoader@404222443
[DEBUG] 18:14:59.537 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
[DEBUG] 18:14:59.537 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'dubboManager' to [app]
[DEBUG] 18:14:59.537 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.integration.dubbo.DubboManager without AOP
[DEBUG] 18:14:59.538 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dubbo_iobjs'<>
[DEBUG] 18:14:59.538 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=dubbo_iobjs
[DEBUG] 18:14:59.538 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(dubbo_iobjs) in DubboConfigIocLoader@404222443
[DEBUG] 18:14:59.538 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'dubbo_iobjs'<>
[DEBUG] 18:14:59.538 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'dubbo_iobjs' to [app]
[DEBUG] 18:14:59.539 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class java.util.HashMap without AOP
[DEBUG] 18:14:59.542 org.nutz.integration.dubbo.DubboManager.init(DubboManager.java:28) - dubbo obj count=6
[DEBUG] 18:14:59.542 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dubboAnnotationBean'<class org.nutz.integration.dubbo.AnnotationBean>
[DEBUG] 18:14:59.542 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=dubboAnnotationBean
[DEBUG] 18:14:59.542 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(dubboAnnotationBean) in DubboConfigIocLoader@404222443
[DEBUG] 18:14:59.542 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'dubboAnnotationBean'<class org.nutz.integration.dubbo.AnnotationBean>
[DEBUG] 18:14:59.542 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'dubboAnnotationBean' to [app]
[DEBUG] 18:14:59.542 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.integration.dubbo.AnnotationBean without AOP
[DEBUG] 18:14:59.543 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dubbo_iobjs'<>
[DEBUG] 18:14:59.547 org.nutz.resource.Scans.scan(Scans.java:280) - Found 6 resource by src( com/e0will/testone/ ) , regex( ^.+[.]class$ )
[DEBUG] 18:14:59.714 com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(ExtensionLoader.java:942) - [DUBBO] package com.alibaba.dubbo.rpc;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Protocol$Adaptive implements com.alibaba.dubbo.rpc.Protocol {
public void destroy() {throw new UnsupportedOperationException("method public abstract void com.alibaba.dubbo.rpc.Protocol.destroy() of interface com.alibaba.dubbo.rpc.Protocol is not adaptive method!");
}
public int getDefaultPort() {throw new UnsupportedOperationException("method public abstract int com.alibaba.dubbo.rpc.Protocol.getDefaultPort() of interface com.alibaba.dubbo.rpc.Protocol is not adaptive method!");
}
public com.alibaba.dubbo.rpc.Invoker refer(java.lang.Class arg0, com.alibaba.dubbo.common.URL arg1) throws com.alibaba.dubbo.rpc.RpcException {
if (arg1 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg1;
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.Protocol) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.Protocol extension = (com.alibaba.dubbo.rpc.Protocol)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.Protocol.class).getExtension(extName);
return extension.refer(arg0, arg1);
}
public com.alibaba.dubbo.rpc.Exporter export(com.alibaba.dubbo.rpc.Invoker arg0) throws com.alibaba.dubbo.rpc.RpcException {
if (arg0 == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument == null");
if (arg0.getUrl() == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument getUrl() == null");com.alibaba.dubbo.common.URL url = arg0.getUrl();
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.Protocol) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.Protocol extension = (com.alibaba.dubbo.rpc.Protocol)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.Protocol.class).getExtension(extName);
return extension.export(arg0);
}
}, dubbo version: 2.6.10, current host: 192.168.72.1
[WARN ] 18:14:59.735 com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory.getExtension(SpringExtensionFactory.java:75) - [DUBBO] No spring extension (bean) named:defaultCompiler, try to find an extension (bean) of type java.lang.String, dubbo version: 2.6.10, current host: 192.168.72.1
[WARN ] 18:14:59.735 com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory.getExtension(SpringExtensionFactory.java:93) - [DUBBO] No spring extension (bean) named:defaultCompiler, type:java.lang.String found, stop get bean., dubbo version: 2.6.10, current host: 192.168.72.1
[DEBUG] 18:14:59.783 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:85) - Remove object 'dubboAnnotationBean' from [app]
[DEBUG] 18:14:59.784 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:85) - Remove object 'dubboManager' from [app]
[ERROR] 18:14:59.784 org.nutz.boot.NbApp.execute(NbApp.java:224) - something happen!!
org.nutz.ioc.IocException: IocBean[dubboManager -> dubboAnnotationBean] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:153)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.integration.dubbo.DubboManager.init(DubboManager.java:31)
at org.nutz.integration.dubbo.DubboManager._init(DubboManager.java:24)
at org.nutz.lang.reflect.435c308d0d57b3840da73c5d892c563a$FM$_init$f9653884aa3b46757f402568496dcc6b.invoke(DubboManager.java)
at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:181)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:161)
at org.nutz.boot.starter.dubbo.DubboStarter.start(DubboStarter.java:17)
at org.nutz.boot.AppContext.startServers(AppContext.java:310)
at org.nutz.boot.NbApp.execute(NbApp.java:210)
at org.nutz.boot.NbApp.run(NbApp.java:182)
at com.e0will.testone.MainLauncher.main(MainLauncher.java:42)
Caused by: java.lang.ExceptionInInitializerError
at org.nutz.integration.dubbo.AnnotationBean._init(AnnotationBean.java:72)
at org.nutz.lang.reflect.456487cc4f90c2d46aad630a24f4db2f$FM$_init$f9653884aa3b46757f402568496dcc6b.invoke(AnnotationBean.java)
at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:181)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
... 16 more
Caused by: java.lang.IllegalStateException: fail to create adaptive instance: java.lang.IllegalStateException: Can not create adaptive extension interface com.alibaba.dubbo.rpc.Protocol, cause: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @6b26e945
at com.alibaba.dubbo.common.extension.ExtensionLoader.getAdaptiveExtension(ExtensionLoader.java:448)
at com.alibaba.dubbo.config.ServiceConfig.<clinit>(ServiceConfig.java:74)
... 21 more
Caused by: java.lang.IllegalStateException: Can not create adaptive extension interface com.alibaba.dubbo.rpc.Protocol, cause: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @6b26e945
at com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtension(ExtensionLoader.java:725)
at com.alibaba.dubbo.common.extension.ExtensionLoader.getAdaptiveExtension(ExtensionLoader.java:444)
... 22 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @6b26e945
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
at javassist.util.proxy.SecurityActions.setAccessible(SecurityActions.java:159)
at javassist.util.proxy.DefineClassHelper$JavaOther.defineClass(DefineClassHelper.java:213)
at javassist.util.proxy.DefineClassHelper$Java11.defineClass(DefineClassHelper.java:52)
at javassist.util.proxy.DefineClassHelper.toClass(DefineClassHelper.java:263)
at javassist.ClassPool.toClass(ClassPool.java:1232)
at javassist.CtClass.toClass(CtClass.java:1384)
at com.alibaba.dubbo.common.compiler.support.JavassistCompiler.doCompile(JavassistCompiler.java:122)
at com.alibaba.dubbo.common.compiler.support.AbstractCompiler.compile(AbstractCompiler.java:59)
at com.alibaba.dubbo.common.compiler.support.AdaptiveCompiler.compile(AdaptiveCompiler.java:46)
at com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClass(ExtensionLoader.java:741)
at com.alibaba.dubbo.common.extension.ExtensionLoader.getAdaptiveExtensionClass(ExtensionLoader.java:734)
at com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtension(ExtensionLoader.java:723)
... 23 more
[INFO ] 18:14:59.787 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:287) - org.nutz.ioc.impl.NutIoc@1800967368 is closing. startup date [22-05-19 18:14:59.334]
[DEBUG] 18:14:59.787 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'dubbo_iobjs' ...
[DEBUG] 18:14:59.787 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'nbServletContextListener' ...
[DEBUG] 18:14:59.787 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'nutMongoDbStarter' ...
[DEBUG] 18:14:59.787 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'druidWebStatServletStarter' ...
[DEBUG] 18:14:59.787 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'druidWebStatFilterStarter' ...
[DEBUG] 18:14:59.787 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'dataSourceStarter' ...
[DEBUG] 18:14:59.792 org.nutz.boot.starter.jdbc.DataSourceStarter.depose(DataSourceStarter.java:248) - shutdown slave datasource count=0
[DEBUG] 18:14:59.793 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'jettyStarter' ...
[DEBUG] 18:14:59.793 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'nutDaoStarter' ...
[DEBUG] 18:14:59.793 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'whaleFilterStarter' ...
[DEBUG] 18:14:59.793 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'nutFilterStarter' ...
[DEBUG] 18:14:59.793 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'swaggerServletStarter' ...
[DEBUG] 18:14:59.793 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'dubboStarter' ...
[DEBUG] 18:14:59.793 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object '$aop_async' ...
[DEBUG] 18:14:59.802 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'counterService' ...
[DEBUG] 18:14:59.802 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'nbApp' ...
[DEBUG] 18:14:59.802 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'conf' ...
[DEBUG] 18:14:59.802 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'appContext' ...
[INFO ] 18:14:59.802 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:301) - org.nutz.ioc.impl.NutIoc@1800967368 is deposed. startup date [22-05-19 18:14:59.334]
[INFO ] 18:14:59.803 com.alibaba.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:56) - [DUBBO] Run shutdown hook now., dubbo version: 2.6.10, current host: 192.168.72.1
[INFO ] 18:14:59.803 com.alibaba.dubbo.registry.support.AbstractRegistryFactory.destroyAll(AbstractRegistryFactory.java:64) - [DUBBO] Close all registries [], dubbo version: 2.6.10, current host: 192.168.72.1
-------------------------------------------------------
pom文件依赖如下
com.alibaba
dubbo
org.nutz
nutzboot-starter-dubbo
io.netty
netty-all
4.1.34.Final
org.apache.curator
curator-recipes
5.0.0
org.apache.zookeeper
zookeeper
org.apache.zookeeper
zookeeper
3.5.8