NutzCN Logo
问答 maven build install报错 Sys_user dbuser = ioc.get(Dao.class).insert(user);这一行代码
发布于 2762天前 作者 三省 1353 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

```

Test set: cn.wizzer.test.SysUserTest

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.747 sec <<< FAILURE! - in cn.wizzer.test.SysUserTest
testInsert(cn.wizzer.test.SysUserTest) Time elapsed: 1.652 sec <<< ERROR!
org.nutz.ioc.IocException: IocBean[dao -> dataSource] throw Exception when creating
at cn.wizzer.test.SysUserTest.testInsert(SysUserTest.java:37)
Caused by: java.lang.RuntimeException: java.sql.SQLException: oracle.jdbc.OracleDriver
at cn.wizzer.test.SysUserTest.testInsert(SysUserTest.java:37)
Caused by: java.sql.SQLException: oracle.jdbc.OracleDriver
at cn.wizzer.test.SysUserTest.testInsert(SysUserTest.java:37)
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at cn.wizzer.test.SysUserTest.testInsert(SysUserTest.java:37)


``` ------------------------------------------------------- T E S T S ------------------------------------------------------- Running cn.wizzer.test.SysUserTest [DEBUG] 2017-05-31 21:50:09,336 org.nutz.resource.Scans.printLocations(Scans.java:521) - Locations count=62 time use 48ms [DEBUG] 2017-05-31 21:50:09,347 org.nutz.resource.Scans.scan(Scans.java:274) - Found 4 resource by src( config/ioc/ ) , regex( ^(.+[.])(js|json)$ ) [DEBUG] 2017-05-31 21:50:09,347 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [dao.json] [DEBUG] 2017-05-31 21:50:09,382 org.nutz.castor.Castors.reload(Castors.java:115) - Using 95 castor for Castors [DEBUG] 2017-05-31 21:50:09,385 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [ehcache.json] [DEBUG] 2017-05-31 21:50:09,385 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [mail.json] [DEBUG] 2017-05-31 21:50:09,386 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [upload.json] [DEBUG] 2017-05-31 21:50:09,388 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 15 bean define from path=[config/ioc/] --> [videoUpload, conf, uploadVideoContext, imageUpload, fileUpload, cacheManager, dao, cacheProvider, emailAuthenticator, uploadFileContext, htmlEmail, cacheExecutor, tmpFilePool, uploadImageContext, dataSource] [DEBUG] 2017-05-31 21:50:09,463 org.nutz.resource.Scans.scan(Scans.java:274) - Found 216 resource by src( cn/wizzer/ ) , regex( ^.+[.]class$ ) [DEBUG] 2017-05-31 21:50:09,558 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.framework.ig.RedisIdGenerator [DEBUG] 2017-05-31 21:50:09,564 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.framework.rabbit.RabbitProducer [DEBUG] 2017-05-31 21:50:09,568 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.framework.shiro.interceptor.NutShiroMethodInterceptor [DEBUG] 2017-05-31 21:50:09,569 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.framework.util.Code128Util [DEBUG] 2017-05-31 21:50:09,571 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.framework.util.DateUtil [DEBUG] 2017-05-31 21:50:09,571 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.framework.util.CookieUtil [DEBUG] 2017-05-31 21:50:09,574 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.framework.util.IdcardUtil [DEBUG] 2017-05-31 21:50:09,576 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.framework.util.RSAUtil [DEBUG] 2017-05-31 21:50:09,642 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.framework.util.ShiroUtil [DEBUG] 2017-05-31 21:50:09,643 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.framework.util.StringUtil [DEBUG] 2017-05-31 21:50:09,645 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.cms.modules.services.impl.CmsArticleServiceImpl [DEBUG] 2017-05-31 21:50:09,656 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.cms.modules.services.impl.CmsChannelServiceImpl [DEBUG] 2017-05-31 21:50:09,657 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.cms.modules.services.impl.CmsLinkClassServiceImpl [DEBUG] 2017-05-31 21:50:09,658 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.cms.modules.services.impl.CmsLinkServiceImpl [DEBUG] 2017-05-31 21:50:09,659 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.cms.modules.services.impl.CmsSiteServiceImpl [DEBUG] 2017-05-31 21:50:09,664 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.sys.modules.services.impl.SysApiServiceImpl [DEBUG] 2017-05-31 21:50:09,665 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.sys.modules.services.impl.SysConfigServiceImpl [DEBUG] 2017-05-31 21:50:09,666 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.sys.modules.services.impl.SysDictServiceImpl [DEBUG] 2017-05-31 21:50:09,668 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.sys.modules.services.impl.SysLogServiceImpl [DEBUG] 2017-05-31 21:50:09,669 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.sys.modules.services.impl.SysMenuServiceImpl [DEBUG] 2017-05-31 21:50:09,670 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.sys.modules.services.impl.SysPluginServiceImpl [DEBUG] 2017-05-31 21:50:09,671 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.sys.modules.services.impl.SysRoleServiceImpl [DEBUG] 2017-05-31 21:50:09,672 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.sys.modules.services.impl.SysRouteServiceImpl [DEBUG] 2017-05-31 21:50:09,672 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.sys.modules.services.impl.SysTaskServiceImpl [DEBUG] 2017-05-31 21:50:09,673 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.sys.modules.services.impl.SysUnitServiceImpl [DEBUG] 2017-05-31 21:50:09,674 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.sys.modules.services.impl.SysUserServiceImpl [DEBUG] 2017-05-31 21:50:09,675 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.commons.plugin.DynamicInterceptor [DEBUG] 2017-05-31 21:50:09,675 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.commons.plugin.PluginAopConfigure [DEBUG] 2017-05-31 21:50:09,677 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.commons.plugin.PluginMaster [DEBUG] 2017-05-31 21:50:09,678 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.commons.quartz.job.TestJob [DEBUG] 2017-05-31 21:50:09,681 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.commons.services.email.EmailService [DEBUG] 2017-05-31 21:50:09,681 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.commons.services.qrcode.QrcodeService [DEBUG] 2017-05-31 21:50:09,684 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.commons.services.wx.TplService [DEBUG] 2017-05-31 21:50:09,684 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.commons.services.wx.WxHandler [DEBUG] 2017-05-31 21:50:09,692 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.commons.shiro.realm.PlatformAuthorizingRealm [DEBUG] 2017-05-31 21:50:09,698 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.commons.slog.SLogAopConfigration [DEBUG] 2017-05-31 21:50:09,699 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.commons.slog.SLogService [DEBUG] 2017-05-31 21:50:09,701 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.front.wx.CmsController [DEBUG] 2017-05-31 21:50:09,703 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.front.wx.WechatController [DEBUG] 2017-05-31 21:50:09,706 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.open.api.test.ApiTestController [DEBUG] 2017-05-31 21:50:09,708 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.open.api.token.TokenController [DEBUG] 2017-05-31 21:50:09,713 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.open.file.UploadController [DEBUG] 2017-05-31 21:50:09,717 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.open.pay.WxPayBackController [DEBUG] 2017-05-31 21:50:09,718 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.open.ueditor.BdController [DEBUG] 2017-05-31 21:50:09,722 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.open.ueditor.WxController [DEBUG] 2017-05-31 21:50:09,723 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.open.wx.WeixinController [DEBUG] 2017-05-31 21:50:09,724 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.cms.CmsArticleController [DEBUG] 2017-05-31 21:50:09,732 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.cms.CmsChannelController [DEBUG] 2017-05-31 21:50:09,734 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.cms.CmsLinkClassController [DEBUG] 2017-05-31 21:50:09,736 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.cms.CmsLinkController [DEBUG] 2017-05-31 21:50:09,738 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.cms.CmsSiteController [DEBUG] 2017-05-31 21:50:09,739 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysApiController [DEBUG] 2017-05-31 21:50:09,740 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysConfController [DEBUG] 2017-05-31 21:50:09,742 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysDictController [DEBUG] 2017-05-31 21:50:09,743 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysHomeController [DEBUG] 2017-05-31 21:50:09,744 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysLogController [DEBUG] 2017-05-31 21:50:09,746 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController [DEBUG] 2017-05-31 21:50:09,748 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysMenuController [DEBUG] 2017-05-31 21:50:09,750 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysPluginController [DEBUG] 2017-05-31 21:50:09,752 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysRoleController [DEBUG] 2017-05-31 21:50:09,755 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysRouteController [DEBUG] 2017-05-31 21:50:09,757 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysTaskController [DEBUG] 2017-05-31 21:50:09,760 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysUnitController [DEBUG] 2017-05-31 21:50:09,761 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.sys.SysUserController [DEBUG] 2017-05-31 21:50:09,763 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxConfigController [DEBUG] 2017-05-31 21:50:09,764 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxMassController [DEBUG] 2017-05-31 21:50:09,765 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxMenuController [DEBUG] 2017-05-31 21:50:09,767 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxMsgUserController [DEBUG] 2017-05-31 21:50:09,767 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxPayTestController [DEBUG] 2017-05-31 21:50:09,768 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxReplyController [DEBUG] 2017-05-31 21:50:09,769 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxReplyNewsController [DEBUG] 2017-05-31 21:50:09,770 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxReplyTxtController [DEBUG] 2017-05-31 21:50:09,772 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxTplIdController [DEBUG] 2017-05-31 21:50:09,773 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxTplListController [DEBUG] 2017-05-31 21:50:09,774 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxTplLogController [DEBUG] 2017-05-31 21:50:09,775 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.web.modules.controllers.platform.wx.WxUserController [DEBUG] 2017-05-31 21:50:09,776 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxConfigServiceImpl [DEBUG] 2017-05-31 21:50:09,778 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxMassNewsServiceImpl [DEBUG] 2017-05-31 21:50:09,779 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxMassSendServiceImpl [DEBUG] 2017-05-31 21:50:09,780 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxMassServiceImpl [DEBUG] 2017-05-31 21:50:09,781 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxMenuServiceImpl [DEBUG] 2017-05-31 21:50:09,781 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxMsgReplyServiceImpl [DEBUG] 2017-05-31 21:50:09,782 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxMsgServiceImpl [DEBUG] 2017-05-31 21:50:09,782 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxReplyNewsServiceImpl [DEBUG] 2017-05-31 21:50:09,783 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxReplyServiceImpl [DEBUG] 2017-05-31 21:50:09,784 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxReplyTxtServiceImpl [DEBUG] 2017-05-31 21:50:09,785 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxTplIdServiceImpl [DEBUG] 2017-05-31 21:50:09,785 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxTplListServiceImpl [DEBUG] 2017-05-31 21:50:09,786 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxTplLogServiceImpl [DEBUG] 2017-05-31 21:50:09,786 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class cn.wizzer.app.wx.modules.services.impl.WxUserServiceImpl [INFO ] 2017-05-31 21:50:09,790 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) - Found 90 classes in 1 base-packages! beans = ["wxTplListController", "uploadController", "wxReplyTxtServiceImpl", "sysDictController", "wxMassSendServiceImpl", "rSAUtil", "wxReplyNewsServiceImpl", "sysLoginController", "wxTplLogServiceImpl", "dateUtil", "sysUserServiceImpl", "wxConfigController", "stringUtil", "sysRoleServiceImpl", "qrcodeService", "sysRouteController", "idcardUtil", "wxTplListServiceImpl", "tplService", "sysPluginServiceImpl", "wxUserServiceImpl", "cmsController", "cmsChannelServiceImpl", "cmsArticleController", "wxMenuController", "nutShiroMethodInterceptor", "dynamicInterceptor", "weixinController", "sysLogController", "wxMassController", "emailService", "code128Util", "wxMsgReplyServiceImpl", "wxMenuServiceImpl", "wxReplyNewsController", "cmsLinkClassServiceImpl", "sysRouteServiceImpl", "sysHomeController", "cmsLinkClassController", "wxMassNewsServiceImpl", "wxMassServiceImpl", "cmsArticleServiceImpl", "sysMenuServiceImpl", "wxHandler", "cmsChannelController", "wxReplyController", "wxController", "sysConfigServiceImpl", "rabbitProducer", "cookieUtil", "sysTaskServiceImpl", "wxMsgServiceImpl", "sysLogServiceImpl", "wxPayBackController", "wxReplyServiceImpl", "bdController", "redisIdGenerator", "wxTplIdServiceImpl", "sysTaskController", "shiroUtil", "cmsSiteController", "$aop_syslog", "wxReplyTxtController", "sysDictServiceImpl", "sysPluginController", "wxConfigServiceImpl", "apiTestController", "sysMenuController", "wxTplLogController", "cmsSiteServiceImpl", "sysApiServiceImpl", "wxUserController", "wxPayTestController", "sLogService", "tokenController", "cmsLinkController", "sysApiController", "cmsLinkServiceImpl", "sysUnitServiceImpl", "wxTplIdController", "sysRoleController", "sysUserController", "platformAuthorizingRealm", "sysConfController", "pluginMaster", "testJob", "wechatController", "sysUnitController", "wxMsgUserController", "$aop_1_plugin"] [DEBUG] 2017-05-31 21:50:09,792 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:110) - found jedis -- org.nutz.integration.jedis.JedisIocLoader [DEBUG] 2017-05-31 21:50:09,796 org.nutz.resource.Scans.scan(Scans.java:274) - Found 1 resource by src( org/nutz/integration/jedis/jedis.js ) , regex( ^(.+[.])(js|json)$ ) [DEBUG] 2017-05-31 21:50:09,797 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [org/nutz/integration/jedis/jedis.js] [DEBUG] 2017-05-31 21:50:09,799 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 9 bean define from path=[org/nutz/integration/jedis/jedis.js] --> [redisService, jedisCluster, jedisClusterNodes, jedisClusterWrapper, pubSubService, jedisPoolConfig, jedisPool, jedisAgent, redis] [DEBUG] 2017-05-31 21:50:09,806 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:40) - Loaded 5 bean define from reader -- [txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED] [DEBUG] 2017-05-31 21:50:09,809 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:110) - found quartz -- org.nutz.integration.quartz.QuartzIocLoader [DEBUG] 2017-05-31 21:50:09,812 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define from path=[] --> [] [DEBUG] 2017-05-31 21:50:09,826 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader [DEBUG] 2017-05-31 21:50:09,829 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:110) - found rabbitmq -- org.nutz.integration.rabbitmq.RabbitmqIocLoader [DEBUG] 2017-05-31 21:50:09,832 org.nutz.resource.Scans.scan(Scans.java:274) - Found 1 resource by src( org/nutz/integration/rabbitmq/rabbitmq.js ) , regex( ^(.+[.])(js|json)$ ) [DEBUG] 2017-05-31 21:50:09,832 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [org/nutz/integration/rabbitmq/rabbitmq.js] [DEBUG] 2017-05-31 21:50:09,833 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 2 bean define from path=[org/nutz/integration/rabbitmq/rabbitmq.js] --> [rabbitmq, rabbitmq_cf] [INFO ] 2017-05-31 21:50:09,838 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) - NutIoc init begin ... [INFO ] 2017-05-31 21:50:09,840 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:115) - ... NutIoc init complete [DEBUG] 2017-05-31 21:50:09,857 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<interface org.nutz.dao.Dao> [DEBUG] 2017-05-31 21:50:09,858 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get '$aop_1_plugin'<interface org.nutz.ioc.aop.config.AopConfigration> [DEBUG] 2017-05-31 21:50:09,858 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) - >> Load definition name=$aop_1_plugin [DEBUG] 2017-05-31 21:50:09,859 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObject($aop_1_plugin) in AnnotationIocLoader(packages=[cn.wizzer]) [DEBUG] 2017-05-31 21:50:09,859 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) - >> Make...'$aop_1_plugin'<interface org.nutz.ioc.aop.config.AopConfigration> [DEBUG] 2017-05-31 21:50:09,860 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_1_plugin' to [app] [DEBUG] 2017-05-31 21:50:09,873 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dynamicInterceptor'<class cn.wizzer.app.web.commons.plugin.DynamicInterceptor> [DEBUG] 2017-05-31 21:50:09,874 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) - >> Load definition name=dynamicInterceptor [DEBUG] 2017-05-31 21:50:09,874 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObject(dynamicInterceptor) in AnnotationIocLoader(packages=[cn.wizzer]) [DEBUG] 2017-05-31 21:50:09,875 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) - >> Make...'dynamicInterceptor'<class cn.wizzer.app.web.commons.plugin.DynamicInterceptor> [DEBUG] 2017-05-31 21:50:09,875 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'dynamicInterceptor' to [app] [DEBUG] 2017-05-31 21:50:09,880 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration> [DEBUG] 2017-05-31 21:50:09,880 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) - >> Load definition name=$aop_async [DEBUG] 2017-05-31 21:50:09,881 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObject($aop_async) in AsyncAopIocLoader@707157673 [DEBUG] 2017-05-31 21:50:09,882 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) - >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration> [DEBUG] 2017-05-31 21:50:09,882 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_async' to [app] [DEBUG] 2017-05-31 21:50:09,884 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get '$aop_syslog'<interface org.nutz.ioc.aop.config.AopConfigration> [DEBUG] 2017-05-31 21:50:09,884 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) - >> Load definition name=$aop_syslog [DEBUG] 2017-05-31 21:50:09,884 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObject($aop_syslog) in AnnotationIocLoader(packages=[cn.wizzer]) [DEBUG] 2017-05-31 21:50:09,885 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) - >> Make...'$aop_syslog'<interface org.nutz.ioc.aop.config.AopConfigration> [DEBUG] 2017-05-31 21:50:09,885 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_syslog' to [app] [DEBUG] 2017-05-31 21:50:09,890 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=cn.wizzer.app.web.commons.slog.annotation.SLog by type=cn.wizzer.app.web.commons.slog.SLogAopConfigration [DEBUG] 2017-05-31 21:50:09,891 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration [DEBUG] 2017-05-31 21:50:09,892 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) - >> Load definition name=dao [DEBUG] 2017-05-31 21:50:09,892 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=dao [DEBUG] 2017-05-31 21:50:09,896 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObject(dao) in JsonLoader(paths=[config/ioc/]) [DEBUG] 2017-05-31 21:50:09,897 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) - >> Make...'dao'<interface org.nutz.dao.Dao> [DEBUG] 2017-05-31 21:50:09,897 cn.wizzer.app.web.commons.plugin.PluginAopConfigure.getInterceptorPairList(PluginAopConfigure.java:33) - skip -- org.nutz.dao.impl.NutDao [DEBUG] 2017-05-31 21:50:09,906 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.dao.impl.NutDao without AOP [DEBUG] 2017-05-31 21:50:09,906 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'dao' to [app] [DEBUG] 2017-05-31 21:50:09,907 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dataSource'<> [DEBUG] 2017-05-31 21:50:09,907 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) - >> Load definition name=dataSource [DEBUG] 2017-05-31 21:50:09,907 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=dataSource [DEBUG] 2017-05-31 21:50:09,917 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObject(dataSource) in JsonLoader(paths=[config/ioc/]) [DEBUG] 2017-05-31 21:50:09,917 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) - >> Make...'dataSource'<> [DEBUG] 2017-05-31 21:50:09,917 cn.wizzer.app.web.commons.plugin.PluginAopConfigure.getInterceptorPairList(PluginAopConfigure.java:33) - skip -- com.alibaba.druid.pool.DruidDataSource [DEBUG] 2017-05-31 21:50:09,934 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class com.alibaba.druid.pool.DruidDataSource without AOP [DEBUG] 2017-05-31 21:50:09,934 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'dataSource' to [app] [DEBUG] 2017-05-31 21:50:09,935 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'conf'<> [DEBUG] 2017-05-31 21:50:09,935 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) - >> Load definition name=conf [DEBUG] 2017-05-31 21:50:09,935 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=conf [DEBUG] 2017-05-31 21:50:09,950 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObject(conf) in JsonLoader(paths=[config/ioc/]) [DEBUG] 2017-05-31 21:50:09,951 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) - >> Make...'conf'<> [DEBUG] 2017-05-31 21:50:09,951 cn.wizzer.app.web.commons.plugin.PluginAopConfigure.getInterceptorPairList(PluginAopConfigure.java:33) - skip -- org.nutz.ioc.impl.PropertiesProxy [DEBUG] 2017-05-31 21:50:09,952 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.ioc.impl.PropertiesProxy without AOP [DEBUG] 2017-05-31 21:50:09,952 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'conf' to [app] [DEBUG] 2017-05-31 21:50:10,013 org.nutz.resource.Scans.scan(Scans.java:274) - Found 4 resource by src( config/custom/ ) , regex( ^.+[.]properties$ ) [DEBUG] 2017-05-31 21:50:10,013 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:113) - load properties from File[D:\workspace_archives\Archives\trunk\wk-app\wk-web\target\classes\config\custom\db.properties] [DEBUG] 2017-05-31 21:50:10,014 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:113) - load properties from File[D:\workspace_archives\Archives\trunk\wk-app\wk-web\target\classes\config\custom\mail.properties] [DEBUG] 2017-05-31 21:50:10,015 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:113) - load properties from File[D:\workspace_archives\Archives\trunk\wk-app\wk-web\target\classes\config\custom\rabbit.properties] [DEBUG] 2017-05-31 21:50:10,015 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:113) - load properties from File[D:\workspace_archives\Archives\trunk\wk-app\wk-web\target\classes\config\custom\redis.properties] [ERROR] 2017-05-31 21:50:10,209 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:776) - {dataSource-1} init error java.sql.SQLException: oracle.jdbc.OracleDriver at com.alibaba.druid.util.JdbcUtils.createDriver(JdbcUtils.java:570) at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:697) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18) at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:72) at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138) at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210) at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24) at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:75) at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210) at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239) at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146) at cn.wizzer.test.SysUserTest.testInsert(SysUserTest.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121) Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.alibaba.druid.util.JdbcUtils.createDriver(JdbcUtils.java:568) ... 41 more [DEBUG] 2017-05-31 21:50:10,212 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) - Remove object 'dataSource' from [app] [DEBUG] 2017-05-31 21:50:10,212 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) - Remove object 'dao' from [app] [INFO ] 2017-05-31 21:50:10,216 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:255) - org.nutz.ioc.impl.NutIoc@366252104 is closing. startup date [17-05-31 21:50:09.838] [DEBUG] 2017-05-31 21:50:10,216 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'conf' ... [DEBUG] 2017-05-31 21:50:10,217 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_syslog' ... [DEBUG] 2017-05-31 21:50:10,217 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_async' ... [DEBUG] 2017-05-31 21:50:10,217 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'dynamicInterceptor' ... [DEBUG] 2017-05-31 21:50:10,218 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_1_plugin' ... [INFO ] 2017-05-31 21:50:10,218 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:262) - org.nutz.ioc.impl.NutIoc@366252104 is deposed. startup date [17-05-31 21:50:09.838] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.747 sec <<< FAILURE! - in cn.wizzer.test.SysUserTest testInsert(cn.wizzer.test.SysUserTest) Time elapsed: 1.652 sec <<< ERROR! org.nutz.ioc.IocException: IocBean[dao -> dataSource] throw Exception when creating at cn.wizzer.test.SysUserTest.testInsert(SysUserTest.java:37) Caused by: java.lang.RuntimeException: java.sql.SQLException: oracle.jdbc.OracleDriver at cn.wizzer.test.SysUserTest.testInsert(SysUserTest.java:37) Caused by: java.sql.SQLException: oracle.jdbc.OracleDriver at cn.wizzer.test.SysUserTest.testInsert(SysUserTest.java:37) Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver at cn.wizzer.test.SysUserTest.testInsert(SysUserTest.java:37) Results : Tests in error: SysUserTest.testInsert:37 » Ioc IocBean[dao -> dataSource] throw Exception whe... Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.471 s [INFO] Finished at: 2017-05-31T21:50:10+08:00 [INFO] Final Memory: 15M/304M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project wk-web: There are test failures. [ERROR] [ERROR] Please refer to D:\workspace_archives\Archives\trunk\wk-app\wk-web\target\surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
2 回复

驱动没找到

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