External jars is specific to guice and would not apply for spring which relies 
on other folders.

See this example for custom JDBC drivers with guice james-jpa: 
https://github.com/apache/james-project/blob/master/server/apps/jpa-app/docker-compose.yml
 

-- 

Best regards,

Benoit TELLIER

General manager of Linagora VIETNAM.
Product owner for Team-Mail product.
Chairman of the Apache James project.

Mail: btell...@linagora.com
Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)


On Aug 17, 2024 6:49 AM, from Jerry Malcolm I downloaded 3.8.1 JPA-Guice zip 
and installed it on an AWS linux EC2. 
I downloaded the latest mySQL JDBC connector and put the jar in
external-jars.   When I start up James, I get several exceptions saying
it can't find com.mysql.cj.jdbc.Driver.  I tried moving the connector
jar into james-server-jpa-app.lib.  No change. I haven't yet upgraded
the database mySQL 5.7 to mySQL 8. Is this the problem?  It seems pretty
straight forward when the error message says java can't locate a class. 
But the class is in the jar file and the jar file is in the same folder
with all of the other jars.  Do I have to add this jar to a classpath
somewhere?  What am I missing?

thx

Jerry


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org


Reply via email to