NutzCN Logo
问答 我新加了一个service模块,启动时报错
发布于 1866天前 作者 wx_brcsh5uotpobd0t3h7ln 2075 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

org.nutz.ioc.IocException: IocBean[dubboManager -> qucj9ggoeki1cov3oua42uhgdp] 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:36)
at org.nutz.integration.dubbo.DubboManager._init(DubboManager.java:24)
at org.nutz.integration.dubbo.DubboManager$FM$_init$cff301be46c87e2fbea60f4ef344bacb.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 cn.wizzer.app.asm.commons.core.DubboRpcAsmMainLauncher.main(DubboRpcAsmMainLauncher.java:39)
Caused by: java.lang.IllegalStateException: <dubbo:service interface="" /> interface not allow null!
at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:230)
at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:217)
at org.nutz.integration.dubbo.ServiceBean._init(ServiceBean.java:163)
at org.nutz.integration.dubbo.ServiceBean$FM$_init$cff301be46c87e2fbea60f4ef344bacb.invoke(ServiceBean.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 common frames omitted

```

1 回复

@Service没写全,或者没抽象接口

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