Matthew Broadhead
2018-07-02 11:07:18 UTC
recently i have been getting this exception during development.
restarting the container allows me to proceed. i am worried it might
start happening in production.
java.lang.NoClassDefFoundError: com/mysql/jdbc/ParameterBindings
at
com.mysql.jdbc.ConnectionImpl.clientPrepareStatement(ConnectionImpl.java:1450)
at
com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4165)
at sun.reflect.GeneratedMethodAccessor418.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108)
at
org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:81)
at com.sun.proxy.$Proxy649.prepareStatement(Unknown Source)
at
org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(DelegatingConnection.java:135)
restarting the container allows me to proceed. i am worried it might
start happening in production.
java.lang.NoClassDefFoundError: com/mysql/jdbc/ParameterBindings
at
com.mysql.jdbc.ConnectionImpl.clientPrepareStatement(ConnectionImpl.java:1450)
at
com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4165)
at sun.reflect.GeneratedMethodAccessor418.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108)
at
org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:81)
at com.sun.proxy.$Proxy649.prepareStatement(Unknown Source)
at
org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(DelegatingConnection.java:135)