NutzCN Logo
问答 很简单的nutz配置 为啥报错了 java.lang.ClassNotFoundException: async
发布于 160天前 作者 Scott 518 次浏览 复制 上一个帖子 下一个帖子
标签:

自己本来是用的其他框架,后来加入了nutz的jar包
但是配置好了以后 启动不起来了???

org.nutz.mvc.LoadingException: java.lang.RuntimeException: java.lang.ClassNotFoundException: async
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:988)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:164)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:133)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:78)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4708)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
40 回复

nutz版本低

好,我去下载个新的试试看

不行啊 我换成最新的 了

2018-5-14 16:2:20.568 ERROR [localhost-startStop-1] Error happend during start serivce!
java.lang.RuntimeException: java.lang.ClassNotFoundException: async
	at org.nutz.lang.Lang.wrapThrow(Lang.java:148)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:18)
	at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:373)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:101)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:78)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4708)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

嗯嗯 ,真的好了~~~ 很感谢~~~~~

全部日志贴出来

你好 还在吗? 我的本来是 struts2 的拦截路径的 但是我 又加入了 nutz 所以在拦截的时候会报错? 可以让他俩兼容吗??

here is no Action mapped for namespace [/] and action name [up] associated with context path [/PersonManage]. - [unknown location]
	at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
	at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
	at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
	at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
	at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:536)
	at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

```
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
PersonManage


index.html
index.htm
index.jsp
default.html
default.htm
default.jsp


StrutsPrepareAndExecuteFilter
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter


StrutsPrepareAndExecuteFilter
/*


nutz
org.nutz.mvc.NutFilter

modules
com.dg.group.nutz.MainModule


ignore
^(.+[.])(jsp|png|gif|jpg|js|css|jspx|jpeg|swf|ico|map|html)$



nutz
/*

`这是那个 web.xml文件

把NutFilter放在前面


nutz
org.nutz.mvc.NutFilter

modules
com.dg.group.nutz.MainModule


ignore
^(.+[.])(jsp|png|gif|jpg|js|css|jspx|jpeg|swf|ico|map|html)$



nutz
/*


StrutsPrepareAndExecuteFilter
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter


StrutsPrepareAndExecuteFilter
/*
这样子还是不行啊

There is no Action mapped for namespace [/] and action name [up] associated with context path [/PersonManage]. - [unknown location]
	at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
	at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
	at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
	at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
	at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:536)
	at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.nutz.mvc.NutFilter.nextChain(NutFilter.java:230)
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:205)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

做了入口方法没

@IocBean
@SetupBy(value=MainSetup.class)
@IocBy(type=ComboIocProvider.class,args={"*js","ioc/","*anno","com.dg.group.module","*tx","*async"})
@Modules(scanPackage=true)
public class MainModule {

}  
   public class MainSetup implements Setup {


这些吗???   

NutFilter如果发现请求的路径没有入口方法映射到, 就会继续走下一个Filter

所以这个请求就到Struts了, 然后404, 这没毛病啊

@IocBean
@At("/file")
@Filters
public class UpLoadFileModule extends BaseModule {

	@At("/up")
	@Ok("jetx:pic_upload.html")
	@Fail("http:500")
	public void up() {

	}                          这是我  要跳转的方法   有映射啊

你访问的地址是?

window.location.href="file/up"; /file/up ; up /up 都试了试~

应该是 /${base}/file/up 其中base是项目的ContextPath

另外, NutFilter的启动日志里面是否有 /file/up 的映射日志

18-05-14 17:38:39.152 INFO [localhost-startStop-1] ... NutIoc init complete
18-05-14 17:38:39.158 INFO [localhost-startStop-1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
18-05-14 17:38:39.168 DEBUG [localhost-startStop-1] @Views(DefaultViewMaker.class)
18-05-14 17:38:39.179 DEBUG [localhost-startStop-1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
18-05-14 17:38:39.197 DEBUG [localhost-startStop-1] module class location 'file:/G:/工程/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/_PersonManage/WEB-INF/classes/'
18-05-14 17:38:39.198 DEBUG [localhost-startStop-1]  > scan 'com.dg.group.nutz'
18-05-14 17:38:39.207 DEBUG [localhost-startStop-1] Found 2 resource by src( com/dg/group/nutz/ ) , regex( ^.+[.]class$ )
18-05-14 17:38:39.213 WARN [localhost-startStop-1] None module classes found!!!  
            
         日志里面确实没有加载那个类 

UpLoadFileModule 放在哪个package了

com.dg.group.module.UpLoadFileModule 这个里边

把MainModule移到com.dg.group

18-05-14 17:55:48.017 ERROR [localhost-startStop-1] Error happend during start serivce!
java.lang.RuntimeException: Can not eval jetx:pic_upload.html("jetx:pic_upload.html") View for public void com.dg.group.module.UpLoadFileModule.up()
	at org.nutz.lang.Lang.makeThrow(Lang.java:133)
	at org.nutz.mvc.view.ViewZone.makeView(ViewZone.java:90)
	at org.nutz.mvc.impl.processor.ViewProcessor.evalView(ViewProcessor.java:89)
	at org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:31)
	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)
	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.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4708)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
18-05-14 17:55:48.018 ERROR [localhost-startStop-1] try to depose ioc
18-05-14 17:55:48.018 INFO [localhost-startStop-1] org.nutz.ioc.impl.NutIoc@1839792431 is closing. startup date [18-05-14 17:55:47.500]
18-05-14 17:55:48.019 DEBUG [localhost-startStop-1] Depose object 'tmpFilePool' ...
18-05-14 17:55:48.019 DEBUG [localhost-startStop-1] Depose object '$aop_async' ...
18-05-14 17:55:48.019 INFO [localhost-startStop-1] org.nutz.ioc.impl.NutIoc@1839792431 is deposed. startup date [18-05-14 17:55:47.500]
五月 14, 2018 5:55:48 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: java.lang.RuntimeException: Can not eval jetx:pic_upload.html("jetx:pic_upload.html") View for public void com.dg.group.module.UpLoadFileModule.up()
	at org.nutz.mvc.LoadingException$FC$9a86caf9ff5d3b587784fcdf555a4a7d.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:1010)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:201)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	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.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4708)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
       还是不行 ~    这个是为甚么啊?? 是我少写注解了么?

jetx不是内置的视图,需要声明一下 @Views(JetTemplateViewMaker.class)

org.nutz.ioc.IocException: IocBean[upLoadFileModule] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:270)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:116)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
	at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: IocBean[upLoadFileModule] fail at field=[dao]
	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)
	... 28 more
Caused by: org.nutz.ioc.IocException: IocBean[dao] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	... 30 more
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.dao.impl.NutDao'
 by args: [@({
	CreateTime:"2018-05-14 18:22:29",
	ActiveCount:0,
	PoolingCount:0,
	CreateCount:0,
	DestroyCount:0,
	CloseCount:0,
	ConnectCount:0,
	Connections:[
	]
})]  然后就报这个错误了~~~~~~   说明加载到那个方法了

连不上数据库?

18-05-14 18:53:50.710 DEBUG [http-nio-80-exec-4] Search mapping for [POST] path=/login : NOT Action match
我进入了登陆方法
18-05-14 18:53:52.643 DEBUG [http-nio-80-exec-7] Search mapping for [POST] path=/department!departmentComboList : NOT Action match
18-05-14 18:53:52.678 DEBUG [http-nio-80-exec-8] Search mapping for [POST] path=/department!departmentComboList : NOT Action match
18-05-14 18:53:53.019 DEBUG [http-nio-80-exec-9] Search mapping for [POST] path=/employee : NOT Action match
18-05-14 18:53:54.801 DEBUG [http-nio-80-exec-10] Found mapping for [GET] path=/up : UpLoadFileModule.up(UpLoadFileModule.java:37)
18-05-14 18:53:54.805 DEBUG [http-nio-80-exec-10] Get 'upLoadFileModule'<class com.dg.group.module.UpLoadFileModule>
18-05-14 18:53:54.805 DEBUG [http-nio-80-exec-10] 	 >> Load definition name=upLoadFileModule
18-05-14 18:53:54.805 DEBUG [http-nio-80-exec-10] Found IocObject(upLoadFileModule) in AnnotationIocLoader(packages=[com.dg.group.module])
18-05-14 18:53:54.805 DEBUG [http-nio-80-exec-10] 	 >> Make...'upLoadFileModule'<class com.dg.group.module.UpLoadFileModule>
18-05-14 18:53:54.806 DEBUG [http-nio-80-exec-10] Save object 'upLoadFileModule' to [app] 
18-05-14 18:53:54.806 DEBUG [http-nio-80-exec-10] Load class com.dg.group.module.UpLoadFileModule without AOP
18-05-14 18:53:54.822 DEBUG [http-nio-80-exec-10] Get 'dao'<interface org.nutz.dao.Dao>
18-05-14 18:53:54.822 DEBUG [http-nio-80-exec-10] 	 >> Load definition name=dao
18-05-14 18:53:54.823 DEBUG [http-nio-80-exec-10] Found IocObject(dao) in JsonLoader(paths=[ioc/])
18-05-14 18:53:54.823 DEBUG [http-nio-80-exec-10] 	 >> Make...'dao'<interface org.nutz.dao.Dao>
18-05-14 18:53:54.823 DEBUG [http-nio-80-exec-10] Save object 'dao' to [app] 
18-05-14 18:53:54.823 DEBUG [http-nio-80-exec-10] Get 'dataSource'<>
18-05-14 18:53:54.823 DEBUG [http-nio-80-exec-10] 	 >> Load definition name=dataSource
18-05-14 18:53:54.825 DEBUG [http-nio-80-exec-10] Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
18-05-14 18:53:54.826 DEBUG [http-nio-80-exec-10] 	 >> Make...'dataSource'<>
18-05-14 18:53:54.826 DEBUG [http-nio-80-exec-10] Save object 'dataSource' to [app] 
18-05-14 18:53:54.862 DEBUG [http-nio-80-exec-10] Load class com.alibaba.druid.pool.DruidDataSource without AOP
五月 14, 2018 6:53:55 下午 com.alibaba.druid.support.logging.JakartaCommonsLoggingImpl info
信息: {dataSource-1} inited
18-05-14 18:53:55.387 DEBUG [http-nio-80-exec-10] Remove object 'dataSource' from [app] 
18-05-14 18:53:55.388 DEBUG [http-nio-80-exec-10] Remove object 'dao' from [app] 
18-05-14 18:53:55.388 DEBUG [http-nio-80-exec-10] Remove object 'upLoadFileModule' from [app] 
18-05-14 18:53:55.388 WARN [http-nio-80-exec-10] Error@/up :
org.nutz.ioc.IocException: IocBean[upLoadFileModule] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:270)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:116)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
	at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: IocBean[upLoadFileModule] fail at field=[dao]
	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)
	... 28 more
Caused by: org.nutz.ioc.IocException: IocBean[dao -> dataSource] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:64)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	... 30 more
Caused by: java.lang.IncompatibleClassChangeError: Implementing class
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2475)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:855)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1304)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1163)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at com.alibaba.druid.util.Utils.loadClass(Utils.java:222)
	at com.alibaba.druid.pool.vendor.MySqlValidConnectionChecker.<init>(MySqlValidConnectionChecker.java:49)
	at com.alibaba.druid.pool.DruidDataSource.initValidConnectionChecker(DruidDataSource.java:892)
	at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:608)
	at com.alibaba.druid.pool.DruidDataSource$FM$init$62febe830a4a6764c634d9e263964cee.invoke(DruidDataSource.java)
	at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:180)
	at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
	... 36 more

tomcat/jdk/druid/mysql驱动 分别是什么版本?

tomcat 8.0 jdk 1.8 druid 1.0.16 mysql 5.5

具体的版本号, 完整的版本号, 感觉是mysql驱动有问题

mysql Ver 14.14 Distrib 5.5.30, for Win32 (x86)
tomcat apache-tomcat-8.0.50
java version "1.8.0_152"
druid druid-1.0.16.jar

是mysql驱动的版本

或者把druid换成最新版

18-05-15 09:59:01.418 DEBUG [http-nio-80-exec-8] Search mapping for [POST] path=/department!departmentComboList : NOT Action match
18-05-15 09:59:01.453 DEBUG [http-nio-80-exec-9] Search mapping for [POST] path=/department!departmentComboList : NOT Action match
18-05-15 09:59:01.843 DEBUG [http-nio-80-exec-10] Search mapping for [POST] path=/employee : NOT Action match
18-05-15 09:59:03.901 DEBUG [http-nio-80-exec-5] Found mapping for [GET] path=/up : UpLoadFileModule.up(UpLoadFileModule.java:37)
18-05-15 09:59:03.903 DEBUG [http-nio-80-exec-5] Get 'upLoadFileModule'<class com.dg.group.module.UpLoadFileModule>
18-05-15 09:59:03.903 DEBUG [http-nio-80-exec-5] 	 >> Load definition name=upLoadFileModule
18-05-15 09:59:03.903 DEBUG [http-nio-80-exec-5] Found IocObject(upLoadFileModule) in AnnotationIocLoader(packages=[com.dg.group.module])
18-05-15 09:59:03.903 DEBUG [http-nio-80-exec-5] 	 >> Make...'upLoadFileModule'<class com.dg.group.module.UpLoadFileModule>
18-05-15 09:59:03.904 DEBUG [http-nio-80-exec-5] Save object 'upLoadFileModule' to [app] 
18-05-15 09:59:03.904 DEBUG [http-nio-80-exec-5] Load class com.dg.group.module.UpLoadFileModule without AOP
18-05-15 09:59:03.918 DEBUG [http-nio-80-exec-5] Get 'dao'<interface org.nutz.dao.Dao>
18-05-15 09:59:03.918 DEBUG [http-nio-80-exec-5] 	 >> Load definition name=dao
18-05-15 09:59:03.919 DEBUG [http-nio-80-exec-5] Found IocObject(dao) in JsonLoader(paths=[ioc/])
18-05-15 09:59:03.919 DEBUG [http-nio-80-exec-5] 	 >> Make...'dao'<interface org.nutz.dao.Dao>
18-05-15 09:59:03.919 DEBUG [http-nio-80-exec-5] Save object 'dao' to [app] 
18-05-15 09:59:03.919 DEBUG [http-nio-80-exec-5] Get 'dataSource'<>
18-05-15 09:59:03.919 DEBUG [http-nio-80-exec-5] 	 >> Load definition name=dataSource
18-05-15 09:59:03.920 DEBUG [http-nio-80-exec-5] Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
18-05-15 09:59:03.920 DEBUG [http-nio-80-exec-5] 	 >> Make...'dataSource'<>
18-05-15 09:59:03.920 DEBUG [http-nio-80-exec-5] Save object 'dataSource' to [app] 
18-05-15 09:59:03.957 DEBUG [http-nio-80-exec-5] Load class com.alibaba.druid.pool.DruidDataSource without AOP
18-05-15 09:59:04.529 DEBUG [http-nio-80-exec-5] Remove object 'dataSource' from [app] 
18-05-15 09:59:04.529 DEBUG [http-nio-80-exec-5] Remove object 'dao' from [app] 
18-05-15 09:59:04.529 DEBUG [http-nio-80-exec-5] Remove object 'upLoadFileModule' from [app] 
18-05-15 09:59:04.530 WARN [http-nio-80-exec-5] Error@/up :
org.nutz.ioc.IocException: IocBean[upLoadFileModule] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:270)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:116)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
	at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: IocBean[upLoadFileModule] fail at field=[dao]
	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)
	... 28 more
Caused by: org.nutz.ioc.IocException: IocBean[dao -> dataSource] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:64)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	... 30 more
Caused by: java.lang.IncompatibleClassChangeError: Implementing class
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2475)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:855)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1304)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1163)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at com.alibaba.druid.util.Utils.loadClass(Utils.java:222)
	at com.alibaba.druid.pool.vendor.MySqlValidConnectionChecker.<init>(MySqlValidConnectionChecker.java:49)
	at com.alibaba.druid.pool.DruidDataSource.initValidConnectionChecker(DruidDataSource.java:945)
	at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:660)
	at com.alibaba.druid.pool.DruidDataSource$FM$init$62febe830a4a6764c634d9e263964cee.invoke(DruidDataSource.java)
	at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:180)
	at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
	... 36 more

换成了druid-1.0.20.jar 还是不行      上边已经加载到了 Save object 'dao' to [app]       Remove object 'dataSource' from [app]   Remove object 'upLoadFileModule' from [app]      Remove object 'dao' from [app]      这是为什么啊?? 正常吗?

druid最新版是1.1.6,至今没说清楚mysql驱动的版本是多少

\mysql-connector-java-5.1.37.jar
mysql-connector-java-3.1.12-bin.jar

mysql-connector-java-3.1.12-bin.jar 是什么鬼,删掉

驱动struts2的jar包,已经改成了最新的
现在报如下错误

18-05-15 10:38:00.729 INFO [localhost-startStop-1] Found 2 module methods
18-05-15 10:38:00.730 DEBUG [localhost-startStop-1] @Localization not define
18-05-15 10:38:00.732 INFO [localhost-startStop-1] Setup application...
18-05-15 10:38:00.735 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is up in 874ms
五月 15, 2018 10:38:00 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-80"]
五月 15, 2018 10:38:00 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
五月 15, 2018 10:38:00 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 5406 ms
18-05-15 10:38:09.521 DEBUG [http-nio-80-exec-4] Search mapping for [POST] path=/login : NOT Action match
我进入了登陆方法
18-05-15 10:38:18.089 DEBUG [http-nio-80-exec-7] Search mapping for [POST] path=/department!departmentComboList : NOT Action match
18-05-15 10:38:18.113 DEBUG [http-nio-80-exec-8] Search mapping for [POST] path=/department!departmentComboList : NOT Action match
18-05-15 10:38:18.500 DEBUG [http-nio-80-exec-9] Search mapping for [POST] path=/employee : NOT Action match
18-05-15 10:38:20.106 DEBUG [http-nio-80-exec-10] Found mapping for [GET] path=/up : UpLoadFileModule.up(UpLoadFileModule.java:37)
18-05-15 10:38:20.108 DEBUG [http-nio-80-exec-10] Get 'upLoadFileModule'<class com.dg.group.module.UpLoadFileModule>
18-05-15 10:38:20.108 DEBUG [http-nio-80-exec-10] 	 >> Load definition name=upLoadFileModule
18-05-15 10:38:20.108 DEBUG [http-nio-80-exec-10] Found IocObject(upLoadFileModule) in AnnotationIocLoader(packages=[com.dg.group.module])
18-05-15 10:38:20.108 DEBUG [http-nio-80-exec-10] 	 >> Make...'upLoadFileModule'<class com.dg.group.module.UpLoadFileModule>
18-05-15 10:38:20.108 DEBUG [http-nio-80-exec-10] Save object 'upLoadFileModule' to [app] 
18-05-15 10:38:20.109 DEBUG [http-nio-80-exec-10] Load class com.dg.group.module.UpLoadFileModule without AOP
18-05-15 10:38:20.123 DEBUG [http-nio-80-exec-10] Get 'dao'<interface org.nutz.dao.Dao>
18-05-15 10:38:20.124 DEBUG [http-nio-80-exec-10] 	 >> Load definition name=dao
18-05-15 10:38:20.124 DEBUG [http-nio-80-exec-10] Found IocObject(dao) in JsonLoader(paths=[ioc/])
18-05-15 10:38:20.124 DEBUG [http-nio-80-exec-10] 	 >> Make...'dao'<interface org.nutz.dao.Dao>
18-05-15 10:38:20.124 DEBUG [http-nio-80-exec-10] Save object 'dao' to [app] 
18-05-15 10:38:20.124 DEBUG [http-nio-80-exec-10] Get 'dataSource'<>
18-05-15 10:38:20.124 DEBUG [http-nio-80-exec-10] 	 >> Load definition name=dataSource
18-05-15 10:38:20.125 DEBUG [http-nio-80-exec-10] Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
18-05-15 10:38:20.125 DEBUG [http-nio-80-exec-10] 	 >> Make...'dataSource'<>
18-05-15 10:38:20.125 DEBUG [http-nio-80-exec-10] Save object 'dataSource' to [app] 
18-05-15 10:38:20.163 DEBUG [http-nio-80-exec-10] Load class com.alibaba.druid.pool.DruidDataSource without AOP
五月 15, 2018 10:38:20 上午 com.alibaba.druid.support.logging.JakartaCommonsLoggingImpl info
信息: {dataSource-1} inited
18-05-15 10:38:20.678 DEBUG [http-nio-80-exec-10] Load class org.nutz.dao.impl.NutDao without AOP
18-05-15 10:38:20.679 DEBUG [http-nio-80-exec-10] Get 'dataSource'<>
18-05-15 10:38:21.031 DEBUG [http-nio-80-exec-10] Jdbcs init complete
18-05-15 10:38:21.031 INFO [http-nio-80-exec-10] Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
18-05-15 10:38:21.046 DEBUG [http-nio-80-exec-10] select expert : org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
18-05-15 10:38:21.058 DEBUG [http-nio-80-exec-10] JDBC Driver --> mysql-connector-java-5.1.37 ( Revision: 09940f05b4c98150f352e787a2549f11a2e9da93 )
18-05-15 10:38:21.059 DEBUG [http-nio-80-exec-10] JDBC Name   --> MySQL Connector Java
18-05-15 10:38:21.059 DEBUG [http-nio-80-exec-10] JDBC URL    --> jdbc:mysql://localhost:3306/db_personmanage
18-05-15 10:38:21.087 DEBUG [http-nio-80-exec-10] Mysql : character_set_client=utf8
18-05-15 10:38:21.087 DEBUG [http-nio-80-exec-10] Mysql : character_set_connection=utf8
18-05-15 10:38:21.088 DEBUG [http-nio-80-exec-10] Mysql : character_set_database=utf8
18-05-15 10:38:21.088 DEBUG [http-nio-80-exec-10] Mysql : character_set_filesystem=binary
18-05-15 10:38:21.088 DEBUG [http-nio-80-exec-10] Mysql : character_set_results=
18-05-15 10:38:21.088 DEBUG [http-nio-80-exec-10] Mysql : character_set_server=utf8
18-05-15 10:38:21.088 DEBUG [http-nio-80-exec-10] Mysql : character_set_system=utf8
18-05-15 10:38:21.088 DEBUG [http-nio-80-exec-10] Mysql : character_sets_dir=C:\Program Files (x86)\MySQL\MySQL Server 5.5\share\charsets\
18-05-15 10:38:21.090 DEBUG [http-nio-80-exec-10] Mysql : binlog_format=STATEMENT
18-05-15 10:38:21.112 DEBUG [http-nio-80-exec-10] Mysql : database=db_personmanage
18-05-15 10:38:21.113 DEBUG [http-nio-80-exec-10] Mysql : user=root@localhost
18-05-15 10:38:21.127 DEBUG [http-nio-80-exec-10] Database info --> MYSQL:[MySQL - 5.5.30]
18-05-15 10:38:21.134 WARN [http-nio-80-exec-10] Error@/up :
java.lang.RuntimeException: org.nutz.mvc.upload.UploadException: Not POST or PUT, Wrong HTTP method! --> GET
	at org.nutz.lang.Lang.wrapThrow(Lang.java:185)
	at org.nutz.mvc.upload.UploadAdaptor.getReferObject(UploadAdaptor.java:199)
	at org.nutz.mvc.upload.UploadAdaptor.getReferObject(UploadAdaptor.java:62)
	at org.nutz.mvc.adaptor.AbstractAdaptor.adapt(AbstractAdaptor.java:250)
	at org.nutz.mvc.upload.UploadAdaptor.adapt(UploadAdaptor.java:117)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:25)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
	at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.nutz.mvc.upload.UploadException: Not POST or PUT, Wrong HTTP method! --> GET
	at org.nutz.mvc.upload.UploadAdaptor.getReferObject(UploadAdaptor.java:172)
	... 33 more

嗯嗯 好了 很感谢~~~~ 万分感谢~ 这个是我自己注解的错误使用了~

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