为 mysql 配置数据源时出现错误。我不知道我错在哪里。
错误:
org.apache.jasper.JasperException: Can't get definitions factory from context.
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:460)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
配置 :
<set-property property="driverClass" value="com.mysql.jdbc.Driver"/>
<set-property property="url" value="jdbc:mysql://localhost:3306/database"/>
<set-property property="password" value="******"/>
<set-property property="user" value="root"/>
<set-property property="autoCommit" value="false"/>
<set-property property="maxCount" value="10"/>
<set-property property="minCount" value="5"/>
<set-property property="maxActive" value="10" />
<set-property property="maxWait" value="5000" />