NutzCN Logo
问答 Service 注入问题
发布于 2157天前 作者 shenheya901016 1633 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

自己在nutzWk 下引入jar 包,包下有个Service 不需要自动注入,所以没有加注释,现在启动项目,总是报找不到这个service ,怎么才能让系统启动跳过这个service.....

3 回复

java.lang.NoClassDefFoundError: org/chain3j/protocol/Chain3jService
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetPublicMethods(Class.java:2902)
at java.lang.Class.getMethods(Class.java:1615)
at org.nutz.mvc.impl.Loadings.isModule(Loadings.java:345)
at org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:202)
at org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:188)
at org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:145)
at org.nutz.mvc.impl.NutLoading.getModuleClasses(NutLoading.java:449)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:184)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4958)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1863)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(Base

这个类的依赖没加上?

已经解决,确实是没加入依赖.....

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