NutzCN Logo
问答 nutzwk 4.0.1版本改为nutzboot项目
发布于 1959天前 作者 码农 1349 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

nutzwk 4.0.1版本改为nutzboot项目时里面的wk-framework模块应该怎么处理?

8 回复

v5
v5-mini
不都是nb项目么,参考改就是了。

@Wizzercn 参照v5-mini整合发现,修改pom文件添加wk-framework依赖之后,很多东西都没了

<dependency>
            <groupId>cn.wizzer</groupId>
            <artifactId>wk-framework</artifactId>
            <version>${nutzwk.version}</version>
        </dependency>

@wsvip 不会呀,v5.x-mini 引入的上 v5.x的wk-framework,,v5.x的wk-framework上在v4.x基础上升级的,兼容老的(少部分需要改动)

@Wizzercn 改动挺大的,高版wk-framework中很多工具类都没了,

已经添加了nutzboot-starter-jdbc,还是报jdbc错误

15:37:06.892 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dataSource'<interface javax.sql.DataSource>
15:37:06.893 [main] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Load definition name=dataSource
15:37:06.893 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dataSource) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
15:37:06.893 [main] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Make...'dataSource'<interface javax.sql.DataSource>
15:37:06.893 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dataSource' to [app] 
15:37:06.894 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dataSourceStarter'<>
15:37:06.896 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'druidDataSource'<interface javax.sql.DataSource>
15:37:06.897 [main] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Load definition name=druidDataSource
15:37:06.897 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(druidDataSource) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
15:37:06.897 [main] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Make...'druidDataSource'<interface javax.sql.DataSource>
15:37:06.897 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'druidDataSource' to [app] 
15:37:06.897 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dataSourceStarter'<>
15:37:06.897 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Remove object 'druidDataSource' from [app] 
15:37:06.897 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Remove object 'dataSource' from [app] 
15:37:06.898 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Remove object 'scheduler' from [app] 
15:37:06.898 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Remove object 'quartzStarter' from [app] 
15:37:06.901 [main] ERROR org.nutz.boot.NbApp - something happen!!
org.nutz.ioc.IocException: IocBean[quartzStarter] 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.ioc.impl.NutIoc.get(NutIoc.java:161)
	at org.nutz.boot.NbApp.prepareStarterInstance(NbApp.java:485)
	at org.nutz.boot.NbApp.prepare(NbApp.java:320)
	at org.nutz.boot.NbApp.execute(NbApp.java:201)
	at org.nutz.boot.NbApp.run(NbApp.java:182)
	at cn.wizzer.app.web.commons.core.MainLauncher.main(MainLauncher.java:22)
Caused by: java.lang.RuntimeException: IocBean[quartzStarter] fail at field=[scheduler]
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
	... 8 common frames omitted
Caused by: org.nutz.ioc.IocException: IocBean[scheduler] 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.val.ReferTypeValue.get(ReferTypeValue.java:60)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	... 10 common frames omitted
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.quartz.impl.StdSchedulerFactory'
 by args: []
 because:org.quartz.SchedulerException: ConnectionProvider class 'org.nutz.integration.quartz.NutConnectionProvider' props could not be configured. [See nested exception: org.nutz.ioc.IocException: IocBean[dataSource] throw Exception when creating]
	at org.nutz.lang.born.MethodBorning.born(MethodBorning.java:20)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
	... 13 common frames omitted
Caused by: org.quartz.SchedulerException: ConnectionProvider class 'org.nutz.integration.quartz.NutConnectionProvider' props could not be configured.
	at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:953)
	at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1559)
	at org.quartz.impl.StdSchedulerFactory.getDefaultScheduler(StdSchedulerFactory.java:1575)
	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:498)
	at org.nutz.lang.born.MethodBorning.born(MethodBorning.java:17)
	... 15 common frames omitted
Caused by: org.nutz.ioc.IocException: IocBean[dataSource] 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.quartz.NutConnectionProvider.initialize(NutConnectionProvider.java:30)
	at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:951)
	... 22 common frames omitted
Caused by: org.nutz.lang.InvokingException: Fail to invoke [org.nutz.boot.starter.jdbc.DataSourceStarter].getDataSource() by args:
 
For the reason: need jdbc.url
	at org.nutz.lang.Invoking.invoke(Invoking.java:195)
	at org.nutz.lang.Mirror.invoke(Mirror.java:1135)
	at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:80)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
	... 26 common frames omitted
Caused by: java.lang.RuntimeException: need jdbc.url
	at org.nutz.boot.starter.jdbc.DataSourceStarter.createDruidDataSource(DataSourceStarter.java:65)
	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:498)
	at org.nutz.lang.Invoking$NullArgInvoker.invoke(Invoking.java:77)
	at org.nutz.lang.Invoking.invoke(Invoking.java:192)
	at org.nutz.lang.Mirror.invoke(Mirror.java:1135)
	at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:80)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
	at org.nutz.boot.starter.jdbc.DataSourceStarter.createDataSource(DataSourceStarter.java:98)
	at org.nutz.boot.starter.jdbc.DataSourceStarter.getDataSource(DataSourceStarter.java:59)
	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:498)
	at org.nutz.lang.Invoking$NullArgInvoker.invoke(Invoking.java:77)
	at org.nutz.lang.Invoking.invoke(Invoking.java:192)
	... 30 common frames omitted
15:37:06.903 [main] INFO org.nutz.ioc.impl.NutIoc - org.nutz.ioc.impl.NutIoc@402115881 is closing. startup date [19-08-13 15:37:06.587]
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'shiroEnvStarter' ...
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'shiroFilterStarter' ...
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'tomcatStarter' ...
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'druidWebStatServletStarter' ...
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'druidWebStatFilterStarter' ...
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'dataSourceStarter' ...
15:37:06.904 [main] DEBUG org.nutz.boot.starter.jdbc.DataSourceStarter - shutdown slave datasource count=0
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'nutDaoStarter' ...
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'whaleFilterStarter' ...
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'nutFilterStarter' ...
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'swaggerServletStarter' ...
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object '$aop_wkcache' ...
15:37:06.904 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object '$aop_async' ...
15:37:06.905 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'counterService' ...
15:37:06.905 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'nbApp' ...
15:37:06.905 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'conf' ...
15:37:06.905 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'appContext' ...

你这是 quartz 报错吧

这个问题解决了,但是出现了新的问题,upload.json文件里面已经配置了,

 shapeUpload : {
        type : 'org.nutz.mvc.upload.UploadAdaptor',
        singleton : false,
        args : [ { refer : 'uploadFileContext' } ]
    },
org.nutz.mvc.LoadingException: org.nutz.ioc.IocException: IocBean[shapeUpload] For object [shapeUpload] - type:[class org.nutz.mvc.upload.UploadAdaptor]
	at org.nutz.mvc.LoadingException$FC$ea86c19f63d257f4e49c243bba1db3c3.invoke(LoadingException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1025)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:207)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	at org.nutz.boot.starter.nutz.mvc.NbMvcLoading.load(NbMvcLoading.java:28)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:136)
	at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:369)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:854)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
	at org.eclipse.jetty.server.Server.start(Server.java:418)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:382)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:160)
	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.web.commons.core.MainLauncher.main(MainLauncher.java:32)
Caused by: org.nutz.ioc.IocException: IocBean[shapeUpload] For object [shapeUpload] - type:[class org.nutz.mvc.upload.UploadAdaptor]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:250)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
	at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:334)
	at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:42)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:22)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	... 29 common frames omitted
Caused by: org.nutz.ioc.ObjectLoadException: Object 'shapeUpload' without define!
	at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:157)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195)
	... 38 common frames omitted
16:06:15.695 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting default@5c13d641==org.eclipse.jetty.servlet.DefaultServlet,jsp=null,order=0,inst=false,async=false
16:06:15.713 [main] DEBUG org.eclipse.jetty.servlet.BaseHolder - Holding class org.eclipse.jetty.servlet.DefaultServlet from sun.misc.Launcher$AppClassLoader@18b4aac2
16:06:15.714 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @9679ms default@5c13d641==org.eclipse.jetty.servlet.DefaultServlet,jsp=null,order=0,inst=false,async=false
16:06:15.747 [main] DEBUG org.eclipse.jetty.servlet.ServletHolder - Servlet.init org.eclipse.jetty.servlet.DefaultServlet@2d8f2f3a for default
16:06:15.751 [main] DEBUG org.eclipse.jetty.servlet.DefaultServlet - resource base = null
16:06:15.751 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting jsp@19c47==org.eclipse.jetty.servlet.NoJspServlet,jsp=null,order=0,inst=false,async=false
16:06:15.751 [main] DEBUG org.eclipse.jetty.servlet.BaseHolder - Holding class org.eclipse.jetty.servlet.NoJspServlet from sun.misc.Launcher$AppClassLoader@18b4aac2
16:06:15.751 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @9716ms jsp@19c47==org.eclipse.jetty.servlet.NoJspServlet,jsp=null,order=0,inst=false,async=false
16:06:15.751 [main] DEBUG org.eclipse.jetty.servlet.ServletHolder - Servlet.init org.eclipse.jetty.servlet.NoJspServlet@7728643a for jsp
16:06:15.752 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting druid@5b6c502==com.alibaba.druid.support.http.StatViewServlet,jsp=null,order=1,inst=true,async=false
16:06:15.752 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @9716ms druid@5b6c502==com.alibaba.druid.support.http.StatViewServlet,jsp=null,order=1,inst=true,async=false
16:06:15.752 [main] DEBUG org.eclipse.jetty.servlet.ServletHolder - Servlet.init com.alibaba.druid.support.http.StatViewServlet@320e400 for druid
16:06:15.797 [main] WARN org.eclipse.jetty.webapp.WebAppContext - Failed startup of context o.e.j.w.WebAppContext@1ffaf86{/,[jar:file:/D:/repository/org/nutz/nutzboot-starter-jetty/2.3.7.v20190731/nutzboot-starter-jetty-2.3.7.v20190731.jar!/META-INF/jetty_resources],UNAVAILABLE}
org.nutz.mvc.LoadingException: org.nutz.ioc.IocException: IocBean[shapeUpload] For object [shapeUpload] - type:[class org.nutz.mvc.upload.UploadAdaptor]
	at org.nutz.mvc.LoadingException$FC$ea86c19f63d257f4e49c243bba1db3c3.invoke(LoadingException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1025)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:207)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	at org.nutz.boot.starter.nutz.mvc.NbMvcLoading.load(NbMvcLoading.java:28)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:136)
	at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:369)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:854)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
	at org.eclipse.jetty.server.Server.start(Server.java:418)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:382)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:160)
	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.web.commons.core.MainLauncher.main(MainLauncher.java:32)
Caused by: org.nutz.ioc.IocException: IocBean[shapeUpload] For object [shapeUpload] - type:[class org.nutz.mvc.upload.UploadAdaptor]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:250)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
	at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:334)
	at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:42)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:22)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	... 29 common frames omitted
Caused by: org.nutz.ioc.ObjectLoadException: Object 'shapeUpload' without define!
	at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:157)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195)
	... 38 common frames omitted

ioc配置文件放错目录吧

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