Hi All,
I installed Xwiki 8.2.1 but getting below error in my tomcat :
2016-10-12 11:47:14,517 [localhost-startStop-1] ERROR w.k.x.w.ServletContextListener - No
suitable driver found for jdbc:mysql://localhost:3306/xw_manager?useUn
icode=true&characterEncoding=utf8
java.sql.SQLException: No suitable driver found for
jdbc:mysql://localhost:3306/xw_manager?useUnicode=true&characterEncoding=utf8
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at
com.worldline.kazan.xwiki.webapp.ServletContextListener.initXwikiDB(ServletContextListener.java:64)
at
com.worldline.kazan.xwiki.webapp.ServletContextListener.contextInitialized(ServletContextListener.java:37)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1]
org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to
start. Full detai
ls will be found in the appropriate container log file
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1]
org.apache.catalina.core.StandardContext.startInternal Context [/xwiki] startup failed due
to previous e
I already kept mysql-connector-java-5.1.21.jar files in application library but still
getting above error while tomcat startup.
Thanks & Regards,
Piyush
Show replies by date