title: java.lang.ClassNotFoundException: javax.sql.rowset.RowSetProvider
body: <p>I'm running a Gradle project in Docker and when I try to hit an endpoint through Postman I receive the following error. When I run it locally through Gradle it works fine and I can hit the endpoint no problem.</p>
  <pre><code>SEVERE: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax.sql.rowset.RowSetProvider] with root cause
  
  java.lang.ClassNotFoundException: javax.sql.rowset.RowSetProvider
  </code></pre>
  <p>I've tried adding the Gradle dependency <code>implementation 'javax.sql:rowset:1.0.1'</code> but had no success as it throws a Gradle build error <code>Could not find javax.sql.rowset:com.springsource.javax.sql.rowset:1.0.1.</code></p>