NutzCN Logo
问答 项目部署到服务器启动时候会报错nutz.ioc nutz.mvc nutz.myupload 是什么情况
发布于 2566天前 作者 604488487 1715 次浏览 复制 上一个帖子 下一个帖子
标签:

服务器只要一启动就会报错 报错粘不出来 兽总可以到群里看一下吗

33 回复

tomcat目录下 的logs目录里面有日志

右键 标记 复制(或者 选中回车)

可以copy出来

日志里复制的

日志里复制的

org.aotu.publics.module.publicModule.uploadFile(org.nutz.mvc.upload.TempFile[]) throws java.lang.Exception
org.nutz.ioc.IocException: [myUpload] # For object [myUpload] - type:[class org.nutz.mvc.upload.UploadAdaptor]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:218)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
	at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:320)
	at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:37)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:23)
	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:204)
	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:87)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
	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.<init>(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.deployDirectory(HostConfig.java:1296)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2038)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.nutz.ioc.ObjectLoadException: Object 'myUpload' without define!
	at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:174)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:180)
	... 29 more

是不是打包的时候没把upload.js放进去

没有呀 没有upload.js

@At
@AdaptBy(type = UploadAdaptor.class, args = { "ioc:myUpload" })
@Ok("raw:json")
public String uploadFile(@Param("file")TempFile[] file) throws Exception {
String string="";
for (TempFile file1 : file) {
File f = file1.getFile(); // 这个是保存的临时文件
String path2 = f.getAbsolutePath();
FieldMeta meta = file1.getMeta(); // 这个原本的文件信息
String fileName = meta.getFileLocalName(); // 这个时原本的文件名称
File file3 = new File(path2);
InputStream is = new FileInputStream(file3);
FileUtils.copyInputStreamToFile(is, new File(conf.get("path"), fileName));
string = "上传成功";
}
return jsons.json(1, 1, 1, string);

}

```
@AdaptBy(type = UploadAdaptor.class, args = { "ioc:myUpload" })兽总我这个用到了吗 我感觉没用到一样

那你写个myUpload的意义是啥... 你本地正常的 ???

恩 eclipse用tomcat启动啥问题也没有 但是用服务就会出错

删掉 "args = { "ioc:myUpload" }"

不行还是报错

var ioc = {
conf : {
type : "org.nutz.ioc.impl.PropertiesProxy",
fields : {
paths : [ "coustom/db.properties" ]
}
},
dataSource : {
type : "com.alibaba.druid.pool.DruidDataSource",
events : {
create : "init",
depose : 'close'
},
fields : {
url : {java:"$conf.get('db.url')"},
username : {java:"$conf.get('db.username')"},
password : {java:"$conf.get('db.password')"},
driverClassName : {java:"$conf.get('db.driverClassName')"},
testWhileIdle : true,
validationQuery : {java:"$conf.get('db.validationQuery')"},
maxActive : {java:"$conf.get('db.maxActive')"},
//druid监控
filters : "mergeStat",
connectionProperties : "druid.stat.slowSqlMillis=2000"
}
},
dao : {
type : "org.nutz.dao.impl.NutDao",
args : [ {
refer : "dataSource"
} ]
},
tmpFilePool : {
type : 'org.nutz.filepool.NutFilePool',
// 临时文件最大个数为 1000 个
args : [ "~/BSDImage", 1000 ]
},
uploadFileContext : {
type : 'org.nutz.mvc.upload.UploadingContext',
singleton : false,
args : [ { refer : 'tmpFilePool' } ],
fields : {
// 是否忽略空文件, 默认为 false
ignoreNull : true,
// 单个文件最大尺寸(大约的值,单位为字节,即 1048576 为 1M)
maxFileSize : 10485760,
// 正则表达式匹配可以支持的文件名
nameFilter : '^(.+[.])(jpg)$'
}
},
myUpload : {
type : 'org.nutz.mvc.upload.UploadAdaptor',
singleton : false,
args : [ { refer : 'uploadFileContext' } ]
}
};

Eval FAIL!! : public java.lang.String org.aotu.publics.module.publicModule.uploadFile(org.nutz.mvc.upload.TempFile[]) throws java.lang.Exception
org.nutz.ioc.IocException: [myUpload] # For object [myUpload] - type:[class org.nutz.mvc.upload.UploadAdaptor]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:218)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:320)
at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:37)
at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:23)
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:204)
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:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
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.deployDirectory(HostConfig.java:1296)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2038)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.nutz.ioc.ObjectLoadException: Object 'myUpload' without define!
at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:174)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:180)
... 29 more
2017-12-13 13:31:23.242 INFO [localhost-startStop-1] org.nutz.ioc.impl.NutIoc@1714589380 is closing. startup date [17-12-13 13:31:22.958]
2017-12-13 13:31:23.243 DEBUG [localhost-startStop-1] Depose object '$aop_async' ...
2017-12-13 13:31:23.243 INFO [localhost-startStop-1] org.nutz.ioc.impl.NutIoc@1714589380 is deposed. startup date [17-12-13 13:31:22.958]

下面这段文本是从dao.js/dao.json拿出来的? 是不是没打包进去?

myUpload : {
 type : 'org.nutz.mvc.upload.UploadAdaptor',
 singleton : false,
 args : [ { refer : 'uploadFileContext' } ]
 }

打进去了 这是我在服务器拷过来的

启动日志贴一下看看,明显没加载到这个文件

2017-12-13 13:31:22.485 INFO [localhost-startStop-1] NutFilter[nutz] starting ...
2017-12-13 13:31:22.538 DEBUG [localhost-startStop-1] Locations for Scans:
[Dir[path=C:\Program Files\Apache Software Foundation\Tomcat 7.0], Jar[path=C:\Program%20Files\Tomcat%207.0\webapps\ROOT\WEB-INF\lib\nutz-1.r.59.jar], Jar[path=C:\Program Files\Tomcat 7.0\bin\bootstrap.jar], Jar[path=C:\Program Files\Tomcat 7.0\bin\tomcat-juli.jar]]
2017-12-13 13:31:22.645 DEBUG [localhost-startStop-1] Locations for Scans:
{C:\Program Files\Apache Software Foundation\Tomcat 7.0=Dir[path=C:\Program Files\Apache Software Foundation\Tomcat 7.0], C:\Program%20Files\Tomcat%207.0\webapps\ROOT\WEB-INF\lib\nutz-1.r.59.jar=Jar[path=C:\Program%20Files\Tomcat%207.0\webapps\ROOT\WEB-INF\lib\nutz-1.r.59.jar], C:\Program Files\Tomcat 7.0\bin\bootstrap.jar=Jar[path=C:\Program Files\Tomcat 7.0\bin\bootstrap.jar], C:\Program Files\Tomcat 7.0\bin\tomcat-juli.jar=Jar[path=C:\Program Files\Tomcat 7.0\bin\tomcat-juli.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\classes=Dir[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\classes], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\sqljdbc4.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\sqljdbc4.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-logging-1.0.4.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-logging-1.0.4.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\httpcore-4.4.1.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\httpcore-4.4.1.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\jsoup-1.8.1.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\jsoup-1.8.1.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\druid-1.0.27.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\druid-1.0.27.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-codec-1.4.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-codec-1.4.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\httpclient-4.3.5.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\httpclient-4.3.5.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\nutz-1.r.59.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\nutz-1.r.59.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\mysql-connector-java-5.1.39-bin.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\mysql-connector-java-5.1.39-bin.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\json-lib-2.4-jdk15.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\json-lib-2.4-jdk15.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-io-2.4.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-io-2.4.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\gson-2.2.4.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\gson-2.2.4.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-io-2.0.1.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-io-2.0.1.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-logging-1.2.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-logging-1.2.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\httpclient-4.5.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\httpclient-4.5.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-logging-1.1.1.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\commons-logging-1.1.1.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\httpmime-4.5.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\httpmime-4.5.jar], C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\json-lib-2.0-jdk15.jar=Jar[path=C:\Program Files\Tomcat 7.0\webapps\ROOT\WEB-INF\lib\json-lib-2.0-jdk15.jar]}
2017-12-13 13:31:22.703 DEBUG [localhost-startStop-1] Using 94 castor for Castors
2017-12-13 13:31:22.717 DEBUG [localhost-startStop-1] Loading by class org.nutz.mvc.impl.NutLoading
2017-12-13 13:31:22.718 INFO [localhost-startStop-1] Nutz Version : 1.r.59
2017-12-13 13:31:22.719 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is initializing ...
2017-12-13 13:31:22.719 DEBUG [localhost-startStop-1] Web Container Information:
2017-12-13 13:31:22.720 DEBUG [localhost-startStop-1] - Default Charset : GBK
2017-12-13 13:31:22.720 DEBUG [localhost-startStop-1] - Current . path : C:\Program Files\Apache Software Foundation\Tomcat 7.0.
2017-12-13 13:31:22.720 DEBUG [localhost-startStop-1] - Java Version : 1.7.0_17
2017-12-13 13:31:22.721 DEBUG [localhost-startStop-1] - File separator : \
2017-12-13 13:31:22.721 DEBUG [localhost-startStop-1] - Timezone : Asia/Shanghai
2017-12-13 13:31:22.721 DEBUG [localhost-startStop-1] - OS : Windows 7 amd64
2017-12-13 13:31:22.721 DEBUG [localhost-startStop-1] - ServerInfo : Apache Tomcat/7.0.79
2017-12-13 13:31:22.721 DEBUG [localhost-startStop-1] - Servlet API : 3.0
2017-12-13 13:31:22.722 DEBUG [localhost-startStop-1] - ContextPath :
2017-12-13 13:31:22.722 DEBUG [localhost-startStop-1] - context.tempdir : C:\Program Files\Tomcat 7.0\work\Catalina\localhost_
2017-12-13 13:31:22.722 DEBUG [localhost-startStop-1] - MainModule : org.aotu.MainModule
2017-12-13 13:31:22.723 DEBUG [localhost-startStop-1] >> app.root = C:/Program Files/Tomcat 7.0/webapps/ROOT
2017-12-13 13:31:22.726 DEBUG [localhost-startStop-1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "org.aotu", "*tx", "*async"],init=[])
2017-12-13 13:31:22.742 DEBUG [localhost-startStop-1] Found 2 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-12-13 13:31:22.742 DEBUG [localhost-startStop-1] loading ioc js config from [dao.js]
2017-12-13 13:31:22.745 DEBUG [localhost-startStop-1] loading ioc js config from [myUpload.js]
2017-12-13 13:31:22.746 DEBUG [localhost-startStop-1] Loaded 7 bean define from path=[ioc/] --> [dataSource, utils, dao, tmpFilePool, uploadPicFileContext, conf, myPicUpload]
2017-12-13 13:31:22.784 DEBUG [localhost-startStop-1] Found 81 resource by src( org/aotu/ ) , regex( ^.+[.]class$ )
2017-12-13 13:31:22.875 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.appointment.module.yymodule
2017-12-13 13:31:22.881 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.car.module.carModule
2017-12-13 13:31:22.882 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.Jsons
2017-12-13 13:31:22.882 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.kuixiu.module.KuaixiuModule
2017-12-13 13:31:22.887 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.login.module.loginModule
2017-12-13 13:31:22.895 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.lswx.module.lswxModule
2017-12-13 13:31:22.900 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.offer.module.lsOfferModule
2017-12-13 13:31:22.901 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.offer.module.offerModule
2017-12-13 13:31:22.917 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.order.module.ordersModule
2017-12-13 13:31:22.919 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.paigong.module.PaiGongModule
2017-12-13 13:31:22.936 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.publics.module.publicModule
2017-12-13 13:31:22.945 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.user.module.userModule
2017-12-13 13:31:22.951 DEBUG [localhost-startStop-1] Found @IocBean : class org.aotu.VIPcard.module.card
2017-12-13 13:31:22.952 INFO [localhost-startStop-1] Found 13 classes in 1 base-packages!
beans = ["yymodule", "paiGongModule", "offerModule", "publicModule", "lsOfferModule", "ordersModule", "userModule", "carModule", "jsons", "card", "loginModule", "kuaixiuModule", "lswxModule"]
2017-12-13 13:31:22.953 DEBUG [localhost-startStop-1] Loaded 5 bean define from reader --
[txREPEATABLE_READ, txREAD_COMMITTED, txNONE, txSERIALIZABLE, txREAD_UNCOMMITTED]
2017-12-13 13:31:22.955 DEBUG [localhost-startStop-1] Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
2017-12-13 13:31:22.957 INFO [localhost-startStop-1] NutIoc init begin ...
2017-12-13 13:31:22.959 INFO [localhost-startStop-1] ... NutIoc init complete
2017-12-13 13:31:22.962 INFO [localhost-startStop-1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-12-13 13:31:22.963 DEBUG [localhost-startStop-1] @Views(DefaultViewMaker.class)
2017-12-13 13:31:22.968 DEBUG [localhost-startStop-1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-12-13 13:31:22.973 DEBUG [localhost-startStop-1] module class location 'file:/C:/Program%20Files/Tomcat%207.0/webapps/ROOT/WEB-INF/classes/'
2017-12-13 13:31:22.973 INFO [localhost-startStop-1] [loc=C:\Program%20Files\Tomcat%207.0\webapps\ROOT\WEB-INF\classes]not exist
2017-12-13 13:31:22.973 DEBUG [localhost-startStop-1] > scan 'org.aotu'
2017-12-13 13:31:23.0 DEBUG [localhost-startStop-1] Found 81 resource by src( org/aotu/ ) , regex( ^.+[.]class$ )
2017-12-13 13:31:23.3 DEBUG [localhost-startStop-1] >> add 'org.aotu.appointment.module.yymodule'
2017-12-13 13:31:23.3 DEBUG [localhost-startStop-1] >> add 'org.aotu.car.module.carModule'
2017-12-13 13:31:23.3 DEBUG [localhost-startStop-1] >> add 'org.aotu.kuixiu.module.KuaixiuModule'
2017-12-13 13:31:23.4 DEBUG [localhost-startStop-1] >> add 'org.aotu.login.module.loginModule'
2017-12-13 13:31:23.6 DEBUG [localhost-startStop-1] >> add 'org.aotu.lswx.module.lswxModule'
2017-12-13 13:31:23.7 DEBUG [localhost-startStop-1] >> add 'org.aotu.offer.module.lsOfferModule'
2017-12-13 13:31:23.7 DEBUG [localhost-startStop-1] >> add 'org.aotu.offer.module.offerModule'
2017-12-13 13:31:23.9 DEBUG [localhost-startStop-1] >> add 'org.aotu.order.module.ordersModule'
2017-12-13 13:31:23.9 DEBUG [localhost-startStop-1] >> add 'org.aotu.paigong.module.PaiGongModule'
2017-12-13 13:31:23.11 DEBUG [localhost-startStop-1] >> add 'org.aotu.publics.module.publicModule'
2017-12-13 13:31:23.11 DEBUG [localhost-startStop-1] >> add 'org.aotu.user.module.userModule'
2017-12-13 13:31:23.13 DEBUG [localhost-startStop-1] >> add 'org.aotu.VIPcard.module.card'
2017-12-13 13:31:23.17 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2017-12-13 13:31:23.23 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2017-12-13 13:31:23.31 DEBUG [localhost-startStop-1] '/car/clxx' >> (carModule.java:48).clxx : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.34 DEBUG [localhost-startStop-1] '/yuyue/add' >> (yymodule.java:227).add : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.38 DEBUG [localhost-startStop-1] '/yuyue/yuyyejinchang' >> (yymodule.java:482).yuyyejinchang : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.41 DEBUG [localhost-startStop-1] '/yuyue/jbxx' >> (yymodule.java:73).jbxx : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.42 DEBUG [localhost-startStop-1] '/yuyue/wxxm' >> (yymodule.java:162).wxxm : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.43 DEBUG [localhost-startStop-1] '/yuyue/cail' >> (yymodule.java:181).cail : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.46 DEBUG [localhost-startStop-1] '/yuyue/lsyy' >> (yymodule.java:200).lsyy : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.53 DEBUG [localhost-startStop-1] '/yuyue/addjbxx' >> (yymodule.java:295).addjbxx : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.56 DEBUG [localhost-startStop-1] '/yuyue/editsj' >> (yymodule.java:319).editsj : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.60 DEBUG [localhost-startStop-1] '/yuyue/addjb' >> (yymodule.java:336).addjb : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.61 DEBUG [localhost-startStop-1] '/yuyue/addwxxm' >> (yymodule.java:373).addwxxm : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.63 DEBUG [localhost-startStop-1] '/yuyue/addcail' >> (yymodule.java:428).addcail : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.65 DEBUG [localhost-startStop-1] '/login/' >> (loginModule.java:59).login : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.66 DEBUG [localhost-startStop-1] '/login/gongsi' >> (loginModule.java:175).gong : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.69 DEBUG [localhost-startStop-1] '/order/add' >> (ordersModule.java:332).add : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.74 DEBUG [localhost-startStop-1] '/order/jbxxxiangxi' >> (ordersModule.java:75).jbxxXiangXi : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.77 DEBUG [localhost-startStop-1] '/order/lsjd' >> (ordersModule.java:196).lsjd : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.78 DEBUG [localhost-startStop-1] '/order/lswxxm' >> (ordersModule.java:220).lswxxm : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.82 DEBUG [localhost-startStop-1] '/order/lsjd2' >> (ordersModule.java:238).lsjd2 : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.84 DEBUG [localhost-startStop-1] '/order/lscail' >> (ordersModule.java:302).lscail : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.85 DEBUG [localhost-startStop-1] '/order/wx_jinchang' >> (ordersModule.java:631).wx_jinchang : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.87 DEBUG [localhost-startStop-1] '/order/dayin' >> (ordersModule.java:764).dayin : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.91 DEBUG [localhost-startStop-1] '/order/jbxx' >> (ordersModule.java:114).jbxx : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.92 DEBUG [localhost-startStop-1] '/order/wxxm' >> (ordersModule.java:262).wxxm : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.94 DEBUG [localhost-startStop-1] '/order/cail' >> (ordersModule.java:281).cail : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.119 DEBUG [localhost-startStop-1] '/order/addjbxx' >> (ordersModule.java:502).addjbxx : int | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.144 DEBUG [localhost-startStop-1] '/order/addjb' >> (ordersModule.java:517).addjb : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.146 DEBUG [localhost-startStop-1] '/order/addwxxm' >> (ordersModule.java:545).addwxxm : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.148 DEBUG [localhost-startStop-1] '/order/addcail' >> (ordersModule.java:688).addcail : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.150 DEBUG [localhost-startStop-1] '/paigong/stop' >> (PaiGongModule.java:169).stop : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.152 DEBUG [localhost-startStop-1] '/paigong/print' >> (PaiGongModule.java:210).print : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.153 DEBUG [localhost-startStop-1] '/paigong/wanggong' >> (PaiGongModule.java:105).wangGong : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.155 DEBUG [localhost-startStop-1] '/paigong/saveallpgxx' >> (PaiGongModule.java:238).saveAllPgxx : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.158 DEBUG [localhost-startStop-1] '/paigong/paigonglist' >> (PaiGongModule.java:53).paiGongList : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.159 DEBUG [localhost-startStop-1] '/paigong/savepgxx' >> (PaiGongModule.java:318).savePgxx : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.161 DEBUG [localhost-startStop-1] '/paigong/delpgxx' >> (PaiGongModule.java:365).delPgxx : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.162 DEBUG [localhost-startStop-1] '/paigong/delpgallrx' >> (PaiGongModule.java:377).delPGAllRx : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.163 DEBUG [localhost-startStop-1] '/paigong/diaodudelcl' >> (PaiGongModule.java:410).diaoduDelcl : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.166 DEBUG [localhost-startStop-1] '/paigong/edityl' >> (PaiGongModule.java:439).editYl : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.169 DEBUG [localhost-startStop-1] '/paigong/edityl_mrkx' >> (PaiGongModule.java:471).editYl_mrkx : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.173 DEBUG [localhost-startStop-1] '/paigong/editwxxm' >> (PaiGongModule.java:506).editWxxm : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.175 DEBUG [localhost-startStop-1] '/paigong/getpgxxbywxxm' >> (PaiGongModule.java:82).getPgxxByWxxm : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.177 DEBUG [localhost-startStop-1] '/paigong/savepgjgandje' >> (PaiGongModule.java:304).savePgJgAndJe : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.178 DEBUG [localhost-startStop-1] '/paigong/diaodudelwxxm' >> (PaiGongModule.java:383).diaoduDelwxxm : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.181 DEBUG [localhost-startStop-1] '/paigong/edityl_zcduwxylxgdj' >> (PaiGongModule.java:454).editYl_zcduwxylxgdj : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.183 DEBUG [localhost-startStop-1] '/paigong/editwxxmbyhyzk' >> (PaiGongModule.java:489).editWxxmByhyzk : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.186 DEBUG [localhost-startStop-1] '/public/getversion' >> (publicModule.java:156).getVersion : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.189 DEBUG [localhost-startStop-1] '/public/getcangkubycaozuoyuan' >> (publicModule.java:511).getCangKuByCaoZuoYuan : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.191 DEBUG [localhost-startStop-1] '/public/get4jijiegoumingcheng' >> (publicModule.java:1296).get4JIjiegouMingcheng : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.194 DEBUG [localhost-startStop-1] '/public/getcheidbychexingmingcheng' >> (publicModule.java:1364).getcheIDBycheXingMingCheng : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.195 DEBUG [localhost-startStop-1] '/public/getjiagedengji' >> (publicModule.java:1512).getJiaGeDengJi : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.195 DEBUG [localhost-startStop-1] '/public/getBspicportno' >> (publicModule.java:1797).getBspicportno : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.198 DEBUG [localhost-startStop-1] '/public/getcardwxxm_price' >> (publicModule.java:1812).getcardwxxm_price : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.200 DEBUG [localhost-startStop-1] '/public/getcardpj_price' >> (publicModule.java:1926).getcardpj_price : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.204 DEBUG [localhost-startStop-1] '/public/wxxmjg' >> (publicModule.java:702).wxxmjg : double | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.208 DEBUG [localhost-startStop-1] '/public/cailjg' >> (publicModule.java:1061).cailjg : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.208 DEBUG [localhost-startStop-1] '/public/getimgurl' >> (publicModule.java:164).getImgUrl : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.210 DEBUG [localhost-startStop-1] '/public/getneima' >> (publicModule.java:525).getNeiMa : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.211 DEBUG [localhost-startStop-1] '/public/getcarimage' >> (publicModule.java:564).getCarImage : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.212 DEBUG [localhost-startStop-1] '/public/bottom' >> (publicModule.java:579).bottom : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.213 DEBUG [localhost-startStop-1] '/public/wxnr_cx' >> (publicModule.java:614).wxnr_cx : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.216 DEBUG [localhost-startStop-1] '/public/wxnr' >> (publicModule.java:629).wxnr : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.217 DEBUG [localhost-startStop-1] '/public/cailnr' >> (publicModule.java:924).cailnr : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.220 DEBUG [localhost-startStop-1] '/public/cailjgbycord' >> (publicModule.java:1146).cailJgByCord : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.222 DEBUG [localhost-startStop-1] '/public/clandkh' >> (publicModule.java:1194).clandkh : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.223 DEBUG [localhost-startStop-1] '/public/pinpai' >> (publicModule.java:1258).pinpai : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.223 DEBUG [localhost-startStop-1] '/public/getgongsijs' >> (publicModule.java:1284).getGongSiJs : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.225 DEBUG [localhost-startStop-1] '/public/chexi' >> (publicModule.java:1380).chexi : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.226 DEBUG [localhost-startStop-1] '/public/chezu' >> (publicModule.java:1403).chezu : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.227 DEBUG [localhost-startStop-1] '/public/chexing' >> (publicModule.java:1426).chexing : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.228 DEBUG [localhost-startStop-1] '/public/getjyuser' >> (publicModule.java:1449).getJyUser : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.228 DEBUG [localhost-startStop-1] '/public/jia' >> (publicModule.java:1479).jia : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.230 DEBUG [localhost-startStop-1] '/public/savejia' >> (publicModule.java:1497).saveJia : String | @Ok(raw:json) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-12-13 13:31:23.231 DEBUG [localhost-startStop-1] Get 'myUpload'<class org.nutz.mvc.upload.UploadAdaptor>
2017-12-13 13:31:23.232 DEBUG [localhost-startStop-1] Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-12-13 13:31:23.232 DEBUG [localhost-startStop-1] >> Load definition name=$aop_async
2017-12-13 13:31:23.234 DEBUG [localhost-startStop-1] Found IocObject($aop_async) in AsyncAopIocLoader@1955498817
2017-12-13 13:31:23.234 DEBUG [localhost-startStop-1] >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-12-13 13:31:23.235 DEBUG [localhost-startStop-1] Save object '$aop_async' to [app]
2017-12-13 13:31:23.239 DEBUG [localhost-startStop-1] Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2017-12-13 13:31:23.239 DEBUG [localhost-startStop-1] >> Load definition name=myUpload
2017-12-13 13:31:23.240 DEBUG [localhost-startStop-1] Eval FAIL!! : public java.lang.String org.aotu.publics.module.publicModule.uploadFile(org.nutz.mvc.upload.TempFile[]) throws java.lang.Exception
org.nutz.ioc.IocException: [myUpload] # For object [myUpload] - type:[class org.nutz.mvc.upload.UploadAdaptor]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:218)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:320)
at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:37)
at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:23)
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:204)
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:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
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.deployDirectory(HostConfig.java:1296)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2038)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.nutz.ioc.ObjectLoadException: Object 'myUpload' without define!
at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:174)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:180)
... 29 more
2017-12-13 13:31:23.242 INFO [localhost-startStop-1] org.nutz.ioc.impl.NutIoc@1714589380 is closing. startup date [17-12-13 13:31:22.958]
2017-12-13 13:31:23.243 DEBUG [localhost-startStop-1] Depose object '$aop_async' ...
2017-12-13 13:31:23.243 INFO [localhost-startStop-1] org.nutz.ioc.impl.NutIoc@1714589380 is deposed. startup date [17-12-13 13:31:22.958]

2017-12-13 13:31:22.742 DEBUG [localhost-startStop-1] loading ioc js config from [dao.js]
2017-12-13 13:31:22.745 DEBUG [localhost-startStop-1] loading ioc js config from [myUpload.js]
2017-12-13 13:31:22.746 DEBUG [localhost-startStop-1] Loaded 7 bean define from path=[ioc/] --> [dataSource, utils, dao, tmpFilePool, uploadPicFileContext, conf, myPicUpload]

跟你贴的内容并不一致, 没有conf,没有myUpload

之前的时候一直没问题 就今天突然有的项目不能运行了 才启动看到爆的错

myUpload这个配置是新加的吧

tmpFilePool : {
type : 'org.nutz.filepool.NutFilePool',
// 临时文件最大个数为 1000 个
args : [ "~/BSDImage", 1000 ]
},
uploadFileContext : {
type : 'org.nutz.mvc.upload.UploadingContext',
singleton : false,
args : [ { refer : 'tmpFilePool' } ],
fields : {
// 是否忽略空文件, 默认为 false
ignoreNull : true,
// 单个文件最大尺寸(大约的值,单位为字节,即 1048576 为 1M)
maxFileSize : 10485760,
// 正则表达式匹配可以支持的文件名
nameFilter : '^(.+[.])(jpg)$'
}
},
myUpload : {
type : 'org.nutz.mvc.upload.UploadAdaptor',
singleton : false,
args : [ { refer : 'uploadFileContext' } ]
}
这些是新加的 所以问你上传的这句@AdaptBy(type = UploadAdaptor.class, args = { "ioc:myUpload" })有用到吗

如果用不到的话我就直接删了新加的东西 和这个注解

发代码用 插入代码 按钮。

恩 好的

tmpFilePool : {
type : 'org.nutz.filepool.NutFilePool',
// 临时文件最大个数为 1000 个
args : [ "~/BSDImage", 1000 ]
},
uploadFileContext : {
type : 'org.nutz.mvc.upload.UploadingContext',
singleton : false,
args : [ { refer : 'tmpFilePool' } ],
fields : {
// 是否忽略空文件, 默认为 false
ignoreNull : true,
// 单个文件最大尺寸(大约的值,单位为字节,即 1048576 为 1M)
maxFileSize : 10485760,
// 正则表达式匹配可以支持的文件名
nameFilter : '^(.+[.])(jpg)$'
}
},
myUpload : {
type : 'org.nutz.mvc.upload.UploadAdaptor',
singleton : false,
args : [ { refer : 'uploadFileContext' } ]
}
2017-12-13 13:31:22.746 DEBUG [localhost-startStop-1] Loaded 7 bean define from path=[ioc/] --> [dataSource, utils, dao, tmpFilePool, uploadPicFileContext, conf, myPicUpload] // 没有uploadFileContext 也没有myUpload 

你是不是看错文件了, 根本没更新原本的dao.js/myUpload.js

dao.js/myUpload.js 怎么更新的我这在WIB-INF下有一个源码class文件之前改的一直就是.class文件里的dao

服务器上的显示已经更新过的

删了重新更新

好了谢谢兽总

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