[ERROR]-[2017-01-04 11:01:03]-[com.alibaba.druid.pool.DruidDataSource:643]: init datasource error, url: &characterEncoding=utf-8
java.sql.SQLException: connect error, url &characterEncoding=utf-8, driverClass com.mysql.jdbc.Driver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1445)
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:632)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:934)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:930)
at org.b3log.latke.repository.jdbc.util.Connections.getConnection(Connections.java:190)
at org.b3log.latke.repository.jdbc.JdbcRepository.getConnection(JdbcRepository.java:879)
at org.b3log.latke.repository.jdbc.JdbcRepository.get(JdbcRepository.java:399)
at org.b3log.latke.repository.AbstractRepository.get(AbstractRepository.java:143)
at org.b3log.solo.repository.impl.OptionRepositoryImpl_
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.b3log.latke.ioc.bean.JavassistMethodHandler.invoke(JavassistMethodHandler.java:101)
at org.b3log.solo.repository.impl.OptionRepositoryImpl_
at org.b3log.solo.service.PreferenceQueryService.getPreference(PreferenceQueryService.java:83)
at org.b3log.solo.service.PreferenceQueryService_
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.b3log.latke.ioc.bean.JavassistMethodHandler.invoke(JavassistMethodHandler.java:101)
at org.b3log.solo.service.PreferenceQueryService_
at org.b3log.solo.service.UpgradeService.upgrade(UpgradeService.java:126)
at org.b3log.solo.service.UpgradeService_
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.b3log.latke.ioc.bean.JavassistMethodHandler.invoke(JavassistMethodHandler.java:101)
at org.b3log.solo.service.UpgradeService_
at org.b3log.solo.SoloServletListener.contextInitialized(SoloServletListener.java:121)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[ERROR]-[2017-01-04 11:01:03]-[com.alibaba.druid.pool.DruidDataSource:660]: dataSource init error
java.sql.SQLException: connect error, url &characterEncoding=utf-8, driverClass com.mysql.jdbc.Driver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1445)
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:632)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:934)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:930)
at org.b3log.latke.repository.jdbc.util.Connections.getConnection(Connections.java:190)
at org.b3log.latke.repository.jdbc.JdbcRepository.getConnection(JdbcRepository.java:879)
at org.b3log.latke.repository.jdbc.JdbcRepository.get(JdbcRepository.java:399)
at org.b3log.latke.repository.AbstractRepository.get(AbstractRepository.java:143)
at org.b3log.solo.repository.impl.OptionRepositoryImpl_
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.b3log.latke.ioc.bean.JavassistMethodHandler.invoke(JavassistMethodHandler.java:101)
at org.b3log.solo.repository.impl.OptionRepositoryImpl_
at org.b3log.solo.service.PreferenceQueryService.getPreference(PreferenceQueryService.java:83)
at org.b3log.solo.service.PreferenceQueryService_
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于