Reputation: 503
I am trying to run the example as per the Link below, step by step:
https://dzone.com/articles/easy-java-ee-microservices-with-payara-micro
The example makes use of Apache Derby DB that I have included in Maven POM and also gets bundled in the WEB-INF/lib folder of the War file.
However, when I try to run the application with command
sudo java -jar payara-micro-5.2020.4.jar --deploy <path to>/SampleService-1.0.war
I get the following error:
javax.resource.ResourceException: The driver could not be loaded: org.apache.derby.jdbc.ClientDriver```
Upvotes: 0
Views: 449
Reputation: 735
Upvotes: 1