NutzCN Logo
问答 butzBoot中pom引入了nutzboot-starter-dubbo 启动报错
发布于 2376天前 作者 qq_8d6b8a30 1375 次浏览 复制 上一个帖子 下一个帖子
标签:

dubbo服务是不是需要配置文件的,但是还没找到这方便相关的demo
启动的日志为:

[INFO ] 00:37:21.360 org.nutz.boot.banner.SimpleBannerPrinter.printBanner(SimpleBannerPrinter.java:34) - 
 _   _ ______                                      ___   
| \ | || ___ \  ______ ______ ______ ______ ______| \ \  
|  \| || |_/ / |______|______|______|______|______| |\ \ 
| . ` || ___ \  ______ ______ ______ ______ ______| | > >
| |\  || |_/ / |______|______|______|______|______| |/ / 
\_| \_/\____/                                     |_/_/  
  
:: Nutz Boot ::   (2.2-SNAPSHOT)

[INFO ] 00:37:21.371 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) - [loc=F:\%e5%b9%b3%e5%8f%b0\sys\target\classes]not exist
[INFO ] 00:37:21.372 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) - [loc=F:\%e5%b9%b3%e5%8f%b0\sys\target\classes]not exist
[DEBUG] 00:37:21.420 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=61 time use 49ms
[DEBUG] 00:37:21.426 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( custom/ ) , regex( ^.+[.]properties$ )
[DEBUG] 00:37:21.426 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114) - load properties from jar:file:/E:/.m2/repository/org/nutz/nutzboot-core/2.1.6/nutzboot-core-2.1.6.jar!/custom/emtry.properties
[DEBUG] 00:37:21.426 org.nutz.boot.config.impl.PropertiesConfigureLoader.init(PropertiesConfigureLoader.java:40) - load F:\平台\sys\target\classes\application.properties
[DEBUG] 00:37:21.453 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 00:37:21.453 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [emtry.json]
[DEBUG] 00:37:21.454 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define from path=[ioc/] --> []
[DEBUG] 00:37:21.507 org.nutz.castor.Castors.reload(Castors.java:116) - Using 101 castor for Castors
[DEBUG] 00:37:21.521 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 ] 00:37:21.527 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) -  > scan 'com.fong.sys.dev'
[DEBUG] 00:37:21.533 org.nutz.resource.Scans.scan(Scans.java:280) - Found 8 resource by src( com/fong/sys/dev/ ) , regex( ^.+[.]class$ )
[INFO ] 00:37:21.539 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'testController                          ' - com.fong.sys.dev.controller.TestController
[INFO ] 00:37:21.544 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'mainLauncher                            ' - com.fong.sys.dev.MainLauncher
[INFO ] 00:37:21.552 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'timeModule                              ' - com.fong.sys.dev.module.TimeModule
[INFO ] 00:37:21.565 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'dubboWayServiceImpl                     ' - com.fong.sys.dev.service.imp.DubboWayServiceImpl
[INFO ] 00:37:21.567 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) -  > scan 'org.nutz.boot.starter'
[DEBUG] 00:37:21.571 org.nutz.resource.Scans.scan(Scans.java:280) - Found 31 resource by src( org/nutz/boot/starter/ ) , regex( ^.+[.]class$ )
[INFO ] 00:37:21.596 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'swaggerServletStarter                   ' - org.nutz.boot.starter.swagger.SwaggerServletStarter
[DEBUG] 00:37:21.600 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : SwaggerServletStarter.createSwaggerInfo(...) define as name=swaggerInfo
[DEBUG] 00:37:21.601 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : SwaggerServletStarter.createSwagger(...) define as name=swagger
[INFO ] 00:37:21.605 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'nutFilterStarter                        ' - org.nutz.boot.starter.nutz.mvc.NutFilterStarter
[DEBUG] 00:37:21.607 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutFilterStarter.createNutFilter(...) define as name=nutFilter
[INFO ] 00:37:21.607 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'whaleFilterStarter                      ' - org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter
[DEBUG] 00:37:21.610 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : WhaleFilterStarter.createNutFilter(...) define as name=whaleFilter
[INFO ] 00:37:21.610 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'nutDaoStarter                           ' - org.nutz.boot.starter.nutz.dao.NutDaoStarter
[DEBUG] 00:37:21.617 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutDaoStarter.createDaoCacheInterceptor(...) define as name=daoCacheInterceptor
[DEBUG] 00:37:21.617 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutDaoStarter.createCacheSerializer(...) define as name=daoCacheSerializer
[DEBUG] 00:37:21.617 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutDaoStarter.getDao(...) define as name=dao
[DEBUG] 00:37:21.620 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutDaoStarter.getSqlManager(...) define as name=sqlManager
[INFO ] 00:37:21.621 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'dataSourceStarter                       ' - org.nutz.boot.starter.jdbc.DataSourceStarter
[DEBUG] 00:37:21.623 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : DataSourceStarter.getDataSource(...) define as name=dataSource
[DEBUG] 00:37:21.623 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : DataSourceStarter.createDruidDataSource(...) define as name=druidDataSource
[DEBUG] 00:37:21.623 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : DataSourceStarter.createHikariCPDataSource(...) define as name=hikariDataSource
[INFO ] 00:37:21.624 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'druidWebStatFilterStarter               ' - org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter
[INFO ] 00:37:21.624 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'druidWebStatServletStarter              ' - org.nutz.boot.starter.jdbc.DruidWebStatServletStarter
[INFO ] 00:37:21.625 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'quartzStarter                           ' - org.nutz.boot.starter.quartz.QuartzStarter
[INFO ] 00:37:21.631 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'tomcatStarter                           ' - org.nutz.boot.starter.tomcat.TomcatStarter
[INFO ] 00:37:21.638 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'dubboBeanFactory                        ' - org.nutz.boot.starter.dubbo.DubboBeanFactory
[DEBUG] 00:37:21.640 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : DubboBeanFactory.makeApplicationConfig(...) define as name=makeApplicationConfig
[DEBUG] 00:37:21.640 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : DubboBeanFactory.makeProtocolConfig(...) define as name=makeProtocolConfig
[INFO ] 00:37:21.641 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'dubboServiceIocEventListener            ' - org.nutz.boot.starter.dubbo.DubboServiceIocEventListener
[INFO ] 00:37:21.641 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'dubboStarter                            ' - org.nutz.boot.starter.dubbo.DubboStarter
[INFO ] 00:37:21.642 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'ngrokClientStarter                      ' - org.nutz.boot.starter.ngrok.NgrokClientStarter
[DEBUG] 00:37:21.644 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NgrokClientStarter.createNgrokClient(...) define as name=ngrokClient
[DEBUG] 00:37:21.645 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:400) - Found jar:file:/E:/.m2/repository/org/nutz/nutzboot-starter-swagger/2.1.6/nutzboot-starter-swagger-2.1.6.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 00:37:21.646 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:400) - Found jar:file:/E:/.m2/repository/org/nutz/nutzboot-starter-nutz-mvc/2.1.6/nutzboot-starter-nutz-mvc-2.1.6.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 00:37:21.647 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:400) - Found jar:file:/E:/.m2/repository/org/nutz/nutzboot-starter-nutz-dao/2.1.6/nutzboot-starter-nutz-dao-2.1.6.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 00:37:21.647 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:400) - Found jar:file:/E:/.m2/repository/org/nutz/nutzboot-starter-jdbc/2.1.6/nutzboot-starter-jdbc-2.1.6.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 00:37:21.648 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:400) - Found jar:file:/E:/.m2/repository/org/nutz/nutzboot-starter-redis/2.1.6/nutzboot-starter-redis-2.1.6.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 00:37:21.648 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:400) - Found jar:file:/E:/.m2/repository/org/nutz/nutzboot-starter-quartz/2.1.6/nutzboot-starter-quartz-2.1.6.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 00:37:21.649 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:400) - Found jar:file:/E:/.m2/repository/org/nutz/nutzboot-starter-weixin/2.1.6/nutzboot-starter-weixin-2.1.6.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 00:37:21.649 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:400) - Found jar:file:/E:/.m2/repository/org/nutz/nutzboot-starter-tomcat/2.1.6/nutzboot-starter-tomcat-2.1.6.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 00:37:21.650 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:400) - Found jar:file:/E:/.m2/repository/org/nutz/nutzboot-starter-dubbo/2.1.6/nutzboot-starter-dubbo-2.1.6.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 00:37:21.650 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:400) - Found jar:file:/E:/.m2/repository/org/nutz/nutzboot-starter-ngrok/2.1.6/nutzboot-starter-ngrok-2.1.6.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[INFO ] 00:37:21.664 org.nutz.boot.NbApp.prepare(NbApp.java:279) - 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.jmxPassword           |no        |                    |          |JMX的密码              |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|10  |druid.web.servlet.jmxUrl                |no        |                    |          |读取JMX信息的URL         |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|11  |druid.web.servlet.jmxUsername           |no        |                    |          |JMX的用户名             |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|12  |druid.web.servlet.loginPassword         |no        |                    |随机值,打印在日志中|访问monitor页面的密码      |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|13  |druid.web.servlet.loginUsername         |no        |                    |driud     |访问monitor页面的用户名     |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|14  |druid.web.servlet.resetEnable           |no        |                    |true      |是否允许重置统计结果          |org.nutz.boot.starter.jdbc.DruidWebStatServletStarter|
|15  |jdbc.password                           |no        |                    |          |数据库密码               |org.nutz.boot.starter.jdbc.DataSourceStarter|
|16  |jdbc.type                               |no        |druid,simple,hikari |druid     |连接池类型               |org.nutz.boot.starter.jdbc.DataSourceStarter|
|17  |jdbc.url                                |yes       |                    |          |JDBC URL            |org.nutz.boot.starter.jdbc.DataSourceStarter|
|18  |jdbc.username                           |no        |                    |          |数据库用户名              |org.nutz.boot.starter.jdbc.DataSourceStarter|
|19  |ngrok.client.auth_token                 |yes       |                    |          |秘钥                  |org.nutz.boot.starter.ngrok.NgrokClientStarter|
|20  |ngrok.client.enable                     |no        |                    |true      |开关                  |org.nutz.boot.starter.ngrok.NgrokClientStarter|
|21  |ngrok.client.srv_host                   |no        |                    |wendal.cn |服务器域名               |org.nutz.boot.starter.ngrok.NgrokClientStarter|
|22  |ngrok.client.srv_port                   |no        |                    |4443      |服务器端口               |org.nutz.boot.starter.ngrok.NgrokClientStarter|
|23  |ngrok.client.to_port                    |no        |                    |8080      |目标端口                |org.nutz.boot.starter.ngrok.NgrokClientStarter|
|24  |nutz.dao.interceptor.cache.cache4Null   |no        |                    |true      |是否缓存null结果          |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|25  |nutz.dao.interceptor.cache.debug        |no        |                    |false     |打印daocache详细调试日志    |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|26  |nutz.dao.interceptor.cache.enable       |no        |                    |false     |是否使用daocache        |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|27  |nutz.dao.interceptor.cache.enableWhenTrans|no        |                    |false     |事务内是否启用daocache     |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|28  |nutz.dao.interceptor.cache.provider.ioc.name|no        |                    |daoCacheProvider|daocache提供者DaoCacheProvider的IocBean名称|org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|29  |nutz.dao.interceptor.cache.provider.memory.cacheSize|no        |                    |          |daocache提供者MemoryDaoCacheProvider的默认缓存大小|org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|30  |nutz.dao.interceptor.cache.provider.type|no        |memory,ehcache,jedis,ioc|memory    |daocache提供者         |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|31  |nutz.dao.interceptor.cache.table.names  |no        |                    |          |需要缓存的表名称,英文逗号分隔     |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|32  |nutz.dao.interceptor.cache.table.pattern|no        |                    |          |需要缓存的表名称的正则表达式      |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|33  |nutz.dao.interceptor.log.enable         |no        |                    |true      |是否打印dao的SQL日志       |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|34  |nutz.dao.interceptor.time.enable        |no        |                    |false     |是否打印dao的SQL耗时日志     |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|35  |nutz.dao.sqls.path                      |no        |                    |sqls/     |sql目录               |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|36  |tomcat.contextPath                      |no        |                    |          |上下文路径               |org.nutz.boot.starter.tomcat.TomcatStarter|
|37  |tomcat.host                             |no        |                    |0.0.0.0   |监听的ip地址             |org.nutz.boot.starter.tomcat.TomcatStarter|
|38  |tomcat.maxPostSize                      |no        |                    |64 * 1024 * 1024|POST表单最大尺寸          |org.nutz.boot.starter.tomcat.TomcatStarter|
|39  |tomcat.port                             |no        |                    |8080      |监听的端口               |org.nutz.boot.starter.tomcat.TomcatStarter|
|40  |tomcat.staticPath                       |no        |                    |static    |静态文件路径              |org.nutz.boot.starter.tomcat.TomcatStarter|
|41  |web.session.timeout                     |no        |                    |30        |Session空闲时间,单位分钟    |org.nutz.boot.starter.tomcat.TomcatStarter|
[INFO ] 00:37:21.670 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:130) - ... NutIoc init complete
[DEBUG] 00:37:21.671 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'appContext' to [app] 
[DEBUG] 00:37:21.671 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'conf' to [app] 
[DEBUG] 00:37:21.671 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'nbApp' to [app] 
[DEBUG] 00:37:21.672 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'counterService' to [app] 
[DEBUG] 00:37:21.680 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( org/nutz/integration/jedis/jedis.js ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 00:37:21.680 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [org/nutz/integration/jedis/jedis.js]
[DEBUG] 00:37:21.681 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 9 bean define from path=[org/nutz/integration/jedis/jedis.js] --> [redisService, jedisCluster, jedisClusterNodes, jedisClusterWrapper, pubSubService, jedisPoolConfig, jedisPool, jedisAgent, redis]
[DEBUG] 00:37:21.684 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define from path=[] --> []
[INFO ] 00:37:21.714 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1208) - Using default implementation for ThreadExecutor
[INFO ] 00:37:21.729 org.quartz.core.SchedulerSignalerImpl.<init>(SchedulerSignalerImpl.java:61) - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
[INFO ] 00:37:21.729 org.quartz.core.QuartzScheduler.<init>(QuartzScheduler.java:229) - Quartz Scheduler v.2.3.0 created.
[INFO ] 00:37:21.730 org.quartz.simpl.RAMJobStore.initialize(RAMJobStore.java:155) - RAMJobStore initialized.
[INFO ] 00:37:21.731 org.quartz.core.QuartzScheduler.initialize(QuartzScheduler.java:294) - Scheduler meta-data: Quartz Scheduler (v2.3.0) 'NutzbootScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 8 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

[INFO ] 00:37:21.731 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1362) - Quartz scheduler 'NutzbootScheduler' initialized from an externally provided properties instance.
[INFO ] 00:37:21.731 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1366) - Quartz scheduler version: 2.3.0
[INFO ] 00:37:21.732 org.quartz.core.QuartzScheduler.setJobFactory(QuartzScheduler.java:2287) - JobFactory set to: org.nutz.integration.quartz.NutQuartzJobFactory@2a265ea9
[DEBUG] 00:37:21.732 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'scheduler' to [app] 
[DEBUG] 00:37:21.736 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( org/nutz/plugins/weixin/weixin.js ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 00:37:21.737 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [org/nutz/plugins/weixin/weixin.js]
[DEBUG] 00:37:21.737 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 3 bean define from path=[org/nutz/plugins/weixin/weixin.js] --> [wxApi2, wxAccessTokenStore, wxLogin]
[ERROR] 00:37:21.819 org.nutz.boot.NbApp.execute(NbApp.java:218) - something happen!!
java.lang.Error: Unresolved compilation problem: 
	DubboConfigIocLoader cannot be resolved to a type

	at org.nutz.boot.starter.dubbo.DubboIocLoaderStarter.getIocLoader(DubboIocLoaderStarter.java:38)
	at org.nutz.boot.NbApp.prepareStarterInstance(NbApp.java:445)
	at org.nutz.boot.NbApp.prepare(NbApp.java:289)
	at org.nutz.boot.NbApp.execute(NbApp.java:195)
	at org.nutz.boot.NbApp.run(NbApp.java:177)
	at com.fong.sys.dev.MainLauncher.main(MainLauncher.java:31)
[INFO ] 00:37:21.827 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:287) - org.nutz.ioc.impl.NutIoc@65586123 is closing. startup date [18-05-15 00:37:21.669]
[DEBUG] 00:37:21.828 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'scheduler' ...
[DEBUG] 00:37:21.828 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'counterService' ...
[DEBUG] 00:37:21.828 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'nbApp' ...
[DEBUG] 00:37:21.828 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'conf' ...
[DEBUG] 00:37:21.828 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'appContext' ...
[INFO ] 00:37:21.828 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:301) - org.nutz.ioc.impl.NutIoc@65586123 is deposed. startup date [18-05-15 00:37:21.669]

6 回复

小白一个,求助大神!

但这个报错有点神奇,怎么会报编译错误呢。。。

我也觉得好奇怪呀,所以我怀疑是不是有些地方没配置好的原因
这是POM的内容

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.fong.sys</groupId>
    <artifactId>dev</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>
    <properties>
        <nutzboot.version>2.1.6</nutzboot.version>
        <mysql-connector.version>6.0.6</mysql-connector.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.nutz</groupId>
                <artifactId>nutzboot-parent</artifactId>
                <version>${nutzboot.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-swagger</artifactId>
        </dependency>
        
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-nutz-mvc</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-nutz-dao</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-jdbc</artifactId>
        </dependency>
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-redis</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-quartz</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-weixin</artifactId>
            </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-tomcat</artifactId>
        </dependency>
        
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-dubbo</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-ngrok</artifactId>
        </dependency>
		<dependency>
		    <groupId>mysql</groupId>
		    <artifactId>mysql-connector-java</artifactId>
		    <version>${mysql-connector.version}</version>
		</dependency>       
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
        </dependency>
        <dependency>
            <groupId>com.h2database</groupId>
            <artifactId>h2</artifactId>
            <version>1.4.196</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <repositories>
        <repository>
            <id>nutz</id>
            <url>http://jfrog.nutz.cn/artifactory/libs-release</url>
        </repository>
        <repository>
            <id>nutz-snapshots</id>
            <url>http://jfrog.nutz.cn/artifactory/snapshots</url>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>
    </repositories>
    <build>
        <finalName>dev</finalName>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.7.0</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                    <compilerArgs>
                        <arg>-parameters</arg>
                    </compilerArgs>
                    <useIncrementalCompilation>false</useIncrementalCompilation>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.10.3</version>
                <configuration>
                    <additionalparam>-Xdoclint:none</additionalparam>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>3.0.2</version>
                <configuration>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <mainClass>com.fong.sys.dev.MainLauncher</mainClass>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>3.0.0</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            <transformers>
                                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
                                <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
                                    <resource>META-INF/nutz/org.nutz.boot.starter.NbStarter</resource>
                                </transformer>
                                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                                    <mainClass>com.fong.sys.dev.MainLauncher</mainClass>
                                </transformer>
                            </transformers>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>

奇怪,明天我看看

试了几次,没报错, 是不是你本地导入了源码??

添加回复
请先登陆
回到顶部