Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.nutz.ioc.impl.NutIoc]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.nutz.ioc.impl.NutIoc.<init>()
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:58)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
... 26 more
Caused by: java.lang.NoSuchMethodException: org.nutz.ioc.impl.NutIoc.<init>()
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getDeclaredConstructor(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:54)
4 回复
@wendal 看到NutDao可以整合,就尝试了哈
@qq_fe28902f 参考nutzmore https://github.com/nutzam/nutzmore/tree/master/nutz-integration-spring 和别人的整合整了一个https://github.com/lusparioTT/MSN
添加回复
请先登陆