Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/transaction/SystemException
You dont’ have javax.transaction.SystemException on your runtime classpath.
This can be fixed by adding dependency to your pom.xml if you use Maven
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>javax.transaction-api</artifactId>
<version>1.2</version>
</dependency>
If you are using gradle, here is the dependency.
compile group: 'javax.transaction', name: 'javax.transaction-api', version: '1.2'
Recent Comments