我在客户端网站上使用Google reCaptcha进行验证.今天我收到了他们的投诉/变更请求,关于reCaptcha的多个图像选择(选择2啤酒,葡萄酒,蛋糕等)验证.我的客户认为,由于客户群的社会文化地位,让客户选择酒精饮料是不合适的.
长话短说; 有没有办法定制谷歌reCaptcha只显示基于数字/字母的验证时"我不是机器人"选项失败.
我试图做一些基本的数据库操作.我正在使用STS 3.2.0,Apache Tomcat 7.
我的dispatcher-servlet.xml包括:
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://localhost:3306/mydb" />
<property name="username" value="root" />
<property name="password" value="root" />
</bean>
Run Code Online (Sandbox Code Playgroud)
Apache Tomcat在成千上万的异常情况下失败了,从这个开始:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.jdbc.datasource.DriverManagerDataSource] for bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.jdbc.datasource.DriverManagerDataSource
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.jdbc.datasource.DriverManagerDataSource] for bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]; nested exception …Run Code Online (Sandbox Code Playgroud)