NutzCN Logo
问答 nutz的maven项目,报mysql驱动问题
发布于 3219天前 作者 qq_6427b776 2266 次浏览 复制 上一个帖子 下一个帖子
标签:

2016-02-29 23:22:33,951 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'dataSource'<>
2016-02-29 23:22:33,952 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition
2016-02-29 23:22:33,952 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2016-02-29 23:22:33,953 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dataSource) in IocLoader(JsonLoader@1543871080)
2016-02-29 23:22:33,953 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'dataSource'<>
2016-02-29 23:22:33,953 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class com.alibaba.druid.pool.DruidDataSource without AOP
2016-02-29 23:22:33,954 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dataSource' to [app]
2016-02-29 23:22:33,955 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:33,955 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:33,955 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:33,956 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:33,956 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,049 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:660) ERROR - dataSource init error
java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at com.alibaba.druid.util.JdbcUtils.getDriverClassName(JdbcUtils.java:426)
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:74)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:73)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:73)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:221)
at cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:40)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:76)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.maven.plugin.JettyServer.doStart(JettyServer.java:73)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:534)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:357)
at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:167)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
2016-02-29 23:22:34,050 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:669) INFO - {dataSource-3} inited
2016-02-29 23:22:34,051 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'dataSource' from [app]
2016-02-29 23:22:34,054 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'dao' from [app]
2016-02-29 23:22:34,055 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'assetScanDao' from [app]
2016-02-29 23:22:34,055 cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:63) ERROR - webService异常
org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]] FAIL to create Ioc Bean name=[assetScanDao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:221)
at cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:40)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:76)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.maven.plugin.JettyServer.doStart(JettyServer.java:73)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:534)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:357)
at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:167)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:73)
... 55 more
Caused by: org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:73)
... 58 more
Caused by: java.lang.RuntimeException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at org.nutz.lang.Lang.wrapThrow(Lang.java:148)
at org.nutz.lang.Lang.wrapThrow(Lang.java:147)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:21)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:74)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
... 61 more
Caused by: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at com.alibaba.druid.util.JdbcUtils.getDriverClassName(JdbcUtils.java:426)
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18)
... 63 more
2016-02-29 23:22:34,057 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'assetScanTaskService'<>
2016-02-29 23:22:34,061 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition
2016-02-29 23:22:34,061 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(assetScanTaskService) in IocLoader(AnnotationIocLoader@1777519364)
2016-02-29 23:22:34,061 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'assetScanTaskService'<>
2016-02-29 23:22:34,062 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class cn.com.venustech.webservices.server.impl.AssetScanTaskServiceImpl without AOP
2016-02-29 23:22:34,062 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'assetScanTaskService' to [app]
2016-02-29 23:22:34,063 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'assetScanService'<>
2016-02-29 23:22:34,064 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition
2016-02-29 23:22:34,064 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(assetScanService) in IocLoader(AnnotationIocLoader@1777519364)
2016-02-29 23:22:34,064 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'assetScanService'<>
2016-02-29 23:22:34,065 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class cn.com.venustech.modules.asset.service.impl.AssetScanServiceImpl without AOP
2016-02-29 23:22:34,065 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'assetScanService' to [app]
2016-02-29 23:22:34,066 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'assetScanDao'<>
2016-02-29 23:22:34,066 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition
2016-02-29 23:22:34,066 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(assetScanDao) in IocLoader(AnnotationIocLoader@1777519364)
2016-02-29 23:22:34,067 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'assetScanDao'<>
2016-02-29 23:22:34,067 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class cn.com.venustech.modules.asset.dao.AssetScanDao without AOP
2016-02-29 23:22:34,067 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'assetScanDao' to [app]
2016-02-29 23:22:34,068 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'dao'<>
2016-02-29 23:22:34,072 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition
2016-02-29 23:22:34,073 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2016-02-29 23:22:34,073 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dao) in IocLoader(JsonLoader@1543871080)
2016-02-29 23:22:34,073 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'dao'<>
2016-02-29 23:22:34,074 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class org.nutz.dao.impl.NutDaoExt without AOP
2016-02-29 23:22:34,075 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dao' to [app]
2016-02-29 23:22:34,076 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'dataSource'<>
2016-02-29 23:22:34,076 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition
2016-02-29 23:22:34,077 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2016-02-29 23:22:34,077 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dataSource) in IocLoader(JsonLoader@1543871080)
2016-02-29 23:22:34,082 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'dataSource'<>
2016-02-29 23:22:34,083 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class com.alibaba.druid.pool.DruidDataSource without AOP
2016-02-29 23:22:34,084 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dataSource' to [app]
2016-02-29 23:22:34,086 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,086 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,086 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,087 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,087 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,089 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:660) ERROR - dataSource init error
java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at com.alibaba.druid.util.JdbcUtils.getDriverClassName(JdbcUtils.java:426)
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:74)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:73)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:73)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:132)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:132)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:221)
at cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:40)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:76)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.maven.plugin.JettyServer.doStart(JettyServer.java:73)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:534)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:357)
at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:167)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
2016-02-29 23:22:34,091 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:669) INFO - {dataSource-4} inited
2016-02-29 23:22:34,091 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'dataSource' from [app]
2016-02-29 23:22:34,093 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'dao' from [app]
2016-02-29 23:22:34,093 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'assetScanDao' from [app]
2016-02-29 23:22:34,094 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'assetScanService' from [app]
2016-02-29 23:22:34,094 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'assetScanTaskService' from [app]
2016-02-29 23:22:34,095 cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:63) ERROR - webService异常
org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]] FAIL to create Ioc Bean name=[assetScanDao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]] FAIL to create Ioc Bean name=[assetScanService]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]] FAIL to create Ioc Bean name=[assetScanDao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]]] FAIL to create Ioc Bean name=[assetScanTaskService]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]] FAIL to create Ioc Bean name=[assetScanDao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]] FAIL to create Ioc Bean name=[assetScanService]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]] FAIL to create Ioc Bean name=[assetScanDao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]]]]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:221)
at cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:40)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:76)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.maven.plugin.JettyServer.doStart(JettyServer.java:73)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:534)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:357)
at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:167)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]] FAIL to create Ioc Bean name=[assetScanDao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]] FAIL to create Ioc Bean name=[assetScanService]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]] FAIL to create Ioc Bean name=[assetScanDao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]]]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:132)
... 55 more
Caused by: org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]] FAIL to create Ioc Bean name=[assetScanDao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:132)
... 60 more
Caused by: org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:73)
... 65 more
Caused by: org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:73)
... 68 more
Caused by: java.lang.RuntimeException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at org.nutz.lang.Lang.wrapThrow(Lang.java:148)
at org.nutz.lang.Lang.wrapThrow(Lang.java:147)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:21)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:74)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
... 71 more
Caused by: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at com.alibaba.druid.util.JdbcUtils.getDriverClassName(JdbcUtils.java:426)
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18)
... 73 more
2016-02-29 23:22:34,100 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'dataSource'<>
2016-02-29 23:22:34,100 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition
2016-02-29 23:22:34,101 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2016-02-29 23:22:34,101 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dataSource) in IocLoader(JsonLoader@1543871080)
2016-02-29 23:22:34,101 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'dataSource'<>
2016-02-29 23:22:34,103 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class com.alibaba.druid.pool.DruidDataSource without AOP
2016-02-29 23:22:34,103 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dataSource' to [app]
2016-02-29 23:22:34,105 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,105 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,106 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,106 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,107 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,109 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:660) ERROR - dataSource init error
java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at com.alibaba.druid.util.JdbcUtils.getDriverClassName(JdbcUtils.java:426)
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:74)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:221)
at cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:40)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:76)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.maven.plugin.JettyServer.doStart(JettyServer.java:73)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:534)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:357)
at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:167)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
2016-02-29 23:22:34,111 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:669) INFO - {dataSource-5} inited
2016-02-29 23:22:34,111 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'dataSource' from [app]
2016-02-29 23:22:34,112 cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:63) ERROR - webService异常
org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:221)
at cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:40)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:76)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.maven.plugin.JettyServer.doStart(JettyServer.java:73)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:534)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:357)
at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:167)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.RuntimeException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at org.nutz.lang.Lang.wrapThrow(Lang.java:148)
at org.nutz.lang.Lang.wrapThrow(Lang.java:147)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:21)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:74)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
... 55 more
Caused by: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at com.alibaba.druid.util.JdbcUtils.getDriverClassName(JdbcUtils.java:426)
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18)
... 57 more
2016-02-29 23:22:34,117 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'testJob'<>
2016-02-29 23:22:34,118 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition
2016-02-29 23:22:34,118 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(testJob) in IocLoader(AnnotationIocLoader@1777519364)
2016-02-29 23:22:34,118 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'testJob'<>
2016-02-29 23:22:34,119 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class cn.com.venustech.common.quartz.job.TestJob without AOP
2016-02-29 23:22:34,119 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'testJob' to [app]
2016-02-29 23:22:34,120 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'dao'<>
2016-02-29 23:22:34,120 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition
2016-02-29 23:22:34,120 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2016-02-29 23:22:34,121 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dao) in IocLoader(JsonLoader@1543871080)
2016-02-29 23:22:34,121 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'dao'<>
2016-02-29 23:22:34,121 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class org.nutz.dao.impl.NutDaoExt without AOP
2016-02-29 23:22:34,122 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dao' to [app]
2016-02-29 23:22:34,129 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'dataSource'<>
2016-02-29 23:22:34,129 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition
2016-02-29 23:22:34,129 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2016-02-29 23:22:34,130 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dataSource) in IocLoader(JsonLoader@1543871080)
2016-02-29 23:22:34,131 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'dataSource'<>
2016-02-29 23:22:34,132 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class com.alibaba.druid.pool.DruidDataSource without AOP
2016-02-29 23:22:34,132 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dataSource' to [app]
2016-02-29 23:22:34,134 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,135 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,135 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,136 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,136 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<>
2016-02-29 23:22:34,138 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:660) ERROR - dataSource init error
java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at com.alibaba.druid.util.JdbcUtils.getDriverClassName(JdbcUtils.java:426)
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:74)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:73)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:132)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:221)
at cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:40)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:76)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.maven.plugin.JettyServer.doStart(JettyServer.java:73)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:534)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:357)
at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:167)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
2016-02-29 23:22:34,139 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:669) INFO - {dataSource-6} inited
2016-02-29 23:22:34,139 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'dataSource' from [app]
2016-02-29 23:22:34,140 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'dao' from [app]
2016-02-29 23:22:34,140 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'testJob' from [app]
2016-02-29 23:22:34,141 cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:63) ERROR - webService异常
org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]] FAIL to create Ioc Bean name=[testJob]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:221)
at cn.com.venustech.webservices.servlet.CXFServlet.loadBus(CXFServlet.java:40)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:76)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.maven.plugin.JettyServer.doStart(JettyServer.java:73)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:534)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:357)
at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:167)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8] FAIL to create Ioc Bean name=[dao]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:132)
... 55 more
Caused by: org.nutz.ioc.IocException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8 FAIL to create Ioc Bean name=[dataSource]
beacase [java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:196)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:73)
... 60 more
Caused by: java.lang.RuntimeException: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at org.nutz.lang.Lang.wrapThrow(Lang.java:148)
at org.nutz.lang.Lang.wrapThrow(Lang.java:147)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:21)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:74)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
... 63 more
Caused by: java.sql.SQLException: unkow jdbc driver : jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
at com.alibaba.druid.util.JdbcUtils.getDriverClassName(JdbcUtils.java:426)
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18)
... 65 more
2016-02-29 23:22:34,142 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'dateUtils'<>
2016-02-29 23:22:34,143 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition
2016-02-29 23:22:34,143 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dateUtils) in IocLoader(AnnotationIocLoader@1777519364)
2016-02-29 23:22:34,143 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'dateUtils'<>
2016-02-29 23:22:34,144 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class cn.com.venustech.common.util.DateUtils without AOP
2016-02-29 23:22:34,144 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dateUtils' to [app]
2016-02-29 23:22:34,253 org.apache.cxf.resource.DefaultResourceManager.findResource(DefaultResourceManager.java:103) DEBUG - resolving resource </WEB-INF/cxfServletStaticResourcesMap.txt> type <class java.io.InputStream>
2016-02-29 23:22:34,258 org.apache.cxf.resource.DefaultResourceManager.findResource(DefaultResourceManager.java:103) DEBUG - resolving resource </cxfServletStaticResourcesMap.txt> type <class java.io.InputStream>
2016-02-29 23:22:34.260:INFO:oejsh.ContextHandler:main: Started o.e.j.m.p.JettyWebAppContext@337bbfdf{/assetscan,file:/E:/developTools/qmxcSoft/CodeProject/assetscan/src/main/webapp/,AVAILABLE}{file:/E:/developTools/qmxcSoft/CodeProject/assetscan/src/main/webapp/}
2016-02-29 23:22:34.263:WARN:oejsh.RequestLogHandler:main: !RequestLog
2016-02-29 23:22:34.400:INFO:oejs.ServerConnector:main: Started ServerConnector@484bc94e{HTTP/1.1}{0.0.0.0:9999}
2016-02-29 23:22:34.400:INFO:oejs.Server:main: Started @14225ms
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 10 seconds.
以上是jetty的控制台信息

9 回复
jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode\=true&characterEncoding\=utf8

后面的\=是什么鬼

难道用的是jdk6???

db.properties配置文件是这样的:
jdbc:mysql://192.168.1.17:3306/assetscan?useUnicode=true&characterEncoding=utf8

jdk8,如果不是jdk8,nutz的框架会提示版本错误的

改一下dao.js, 把用户名附近,加入driverClass试试

                password : {java:"$conf.get('db.password')"},
                driverClass : "com.mysql.jdbc.Driver",
	            testWhileIdle : true,

这是pom.xml文件


org.mariadb.jdbc
mariadb-java-client
1.3.2


javax.servlet
javax.servlet-api
3.1.0
provided


org.nutz
nutz
1.b.53


org.nutz
nutz-plugins-daocache
1.b.52.r1

    <dependency>
       <groupId>org.nutz</groupId>
       <artifactId>nutz-web</artifactId>
       <version>1.b.52</version>
       <exclusions>
         <exclusion>
          <groupId>org.eclipse.jetty.aggregate</groupId>
          <artifactId>jetty-all-server</artifactId>
         </exclusion>
         <exclusion>
          <groupId>org.eclipse.jetty.orbit</groupId>
          <artifactId>javax.servlet.jsp</artifactId>
         </exclusion>
       </exclusions>
    </dependency>
    <dependency>
       <groupId>org.nutz</groupId>
       <artifactId>nutz-integration-quartz</artifactId>
       <version>1.b.52</version>
    </dependency>
    <dependency>
       <groupId>org.quartz-scheduler</groupId>
       <artifactId>quartz</artifactId>
       <version>2.2.1</version>
    </dependency>
    <dependency>
       <groupId>org.quartz-scheduler</groupId>
       <artifactId>quartz-jobs</artifactId>
       <version>2.2.1</version>
    </dependency>
    <dependency>
       <groupId>org.nutz</groupId>
       <artifactId>nutz-integration-shiro</artifactId>
       <version>1.b.52.r2</version>
    </dependency>
    <dependency>
       <groupId>org.apache.shiro</groupId>
       <artifactId>shiro-web</artifactId>
       <version>1.2.3</version>
    </dependency>
    <dependency>
       <groupId>org.apache.shiro</groupId>
       <artifactId>shiro-core</artifactId>
       <version>1.2.3</version>
    </dependency>
    <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-log4j12</artifactId>
       <version>1.7.12</version>
    </dependency>
    <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
       <version>1.7.12</version>
    </dependency>

    <dependency>
       <groupId>log4j</groupId>
       <artifactId>log4j</artifactId>
       <version>1.2.17</version>
    </dependency>
    <dependency>
       <groupId>cn.apiclub.tool</groupId>
       <artifactId>simplecaptcha</artifactId>
       <version>1.2.2</version>
    </dependency>
    <dependency>
       <groupId>com.alibaba</groupId>
       <artifactId>druid</artifactId>
       <version>1.0.15</version>
       <exclusions>
         <exclusion>
          <groupId>com.alibaba</groupId>
          <artifactId>jconsole</artifactId>
         </exclusion>
         <exclusion>
          <groupId>com.alibaba</groupId>
          <artifactId>tools</artifactId>
         </exclusion>
       </exclusions>
    </dependency>
    <dependency>
       <groupId>mysql</groupId>
       <artifactId>mysql-connector-java</artifactId>
       <version>5.1.38</version>
    </dependency>
    <dependency>
       <groupId>net.sourceforge.jtds</groupId>
       <artifactId>jtds</artifactId>
       <version>1.3.0</version>
    </dependency>
    <dependency>
       <groupId>com.google.zxing</groupId>
       <artifactId>javase</artifactId>
       <version>3.2.0</version>
    </dependency>
    <dependency>
       <groupId>net.sf.ehcache</groupId>
       <artifactId>ehcache</artifactId>
       <version>2.10.0</version>
    </dependency>
    <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-email</artifactId>
       <version>1.4</version>
    </dependency>
    <dependency>
       <groupId>com.sun.mail</groupId>
       <artifactId>javax.mail</artifactId>
       <version>1.5.2</version>
    </dependency>
    <dependency>
       <groupId>javax.activation</groupId>
       <artifactId>activation</artifactId>
       <version>1.1.1</version>
    </dependency>
    <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-lang3</artifactId>
       <version>3.4</version>
    </dependency>
    <dependency>
       <groupId>org.apache.shiro</groupId>
       <artifactId>shiro-all</artifactId>
       <version>1.2.3</version>
       <exclusions>
         <exclusion>
          <groupId>org.apache.shiro</groupId>
          <artifactId>shiro-guice</artifactId>
         </exclusion>
       </exclusions>
    </dependency>
    <dependency>
       <groupId>commons-beanutils</groupId>
       <artifactId>commons-beanutils-core</artifactId>
       <version>1.8.3</version>
    </dependency>
    <dependency>
       <groupId>org.apache.velocity</groupId>
       <artifactId>velocity</artifactId>
       <version>1.7</version>
    </dependency>
    <!--CXF START -->
    <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-api</artifactId>
       <version>2.7.17</version>
    </dependency>
    <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-frontend-jaxws</artifactId>
       <version>2.7.17</version>
    </dependency>
    <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-bindings-soap</artifactId>
       <version>2.7.17</version>
    </dependency>
    <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-transports-http</artifactId>
       <version>2.7.17</version>
    </dependency>
    <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-ws-security</artifactId>
       <version>2.7.17</version>
    </dependency>
    <!--CXF END -->
    <dependency>
       <groupId>commons-collections</groupId>
       <artifactId>commons-collections</artifactId>
       <version>3.2.1</version>
    </dependency>
    <dependency>
       <groupId>commons-lang</groupId>
       <artifactId>commons-lang</artifactId>
       <version>2.4</version>
    </dependency>
    <dependency>
       <groupId>commons-logging</groupId>
       <artifactId>commons-logging</artifactId>
       <version>1.1</version>
       <exclusions>
         <exclusion>
          <groupId>logkit</groupId>
          <artifactId>logkit</artifactId>
         </exclusion>
         <exclusion>
          <groupId>avalon-framework</groupId>
          <artifactId>avalon-framework</artifactId>
         </exclusion>
       </exclusions>
    </dependency>
    <dependency>
       <groupId>org.brickred</groupId>
       <artifactId>socialauth</artifactId>
       <version>4.9</version>
       <exclusions>
         <exclusion>
          <groupId>javax.servlet</groupId>
          <artifactId>servlet-api</artifactId>
         </exclusion>
         <exclusion>
          <groupId>org.json</groupId>
          <artifactId>json</artifactId>
         </exclusion>
         <exclusion>
          <groupId>org.openid4java</groupId>
          <artifactId>openid4java-consumer</artifactId>
         </exclusion>
       </exclusions>
    </dependency>
    <dependency>
       <groupId>org.json</groupId>
       <artifactId>json</artifactId>
       <version>20090211</version>
    </dependency>
    <dependency>
       <groupId>com.jcraft</groupId>
       <artifactId>jsch</artifactId>
       <version>0.1.53</version>
    </dependency>
    <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-compress</artifactId>
       <version>1.10</version>
    </dependency>

    <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <version>4.10</version>
       <scope>test</scope>
    </dependency>
    <dependency>
       <groupId>maven</groupId>
       <artifactId>dom4j</artifactId>
       <version>1.7-20060614</version>
       <scope>test</scope>
       <exclusions>
         <exclusion>
          <groupId>jaxen</groupId>
          <artifactId>jaxen</artifactId>
         </exclusion>
         <exclusion>
          <groupId>jaxme</groupId>
          <artifactId>jaxme-api</artifactId>
         </exclusion>
         <exclusion>
          <groupId>xpp3</groupId>
          <artifactId>xpp3</artifactId>
         </exclusion>
         <exclusion>
          <groupId>msv</groupId>
          <artifactId>xsdlib</artifactId>
         </exclusion>
         <exclusion>
          <groupId>msv</groupId>
          <artifactId>relaxngDatatype</artifactId>
         </exclusion>
         <exclusion>
          <groupId>pull-parser</groupId>
          <artifactId>pull-parser</artifactId>
         </exclusion>
         <exclusion>
          <groupId>stax</groupId>
          <artifactId>stax-api</artifactId>
         </exclusion>
         <exclusion>
          <groupId>junitperf</groupId>
          <artifactId>junitperf</artifactId>
         </exclusion>
       </exclusions>
    </dependency>
</dependencies>

2016-02-29 23:39:58,761 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1890) ERROR - create connection error, url: jdbc:mysql://127.0.0.1:3306/assetscan?useUnicode\=true&characterEncoding\=utf8
java.sql.SQLException: connect error, url jdbc:mysql://127.0.0.1:3306/assetscan?useUnicode\=true&characterEncoding\=utf8, driverClass com.mysql.jdbc.Driver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1434)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1888)

这不变了吗? 改127.0.0.1改回原本的ip就是了

兽兽哥,我本机的mysql限制了ip地址,如何把它弄成自己的本地ip可以访问?

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