Install James JPA-Guice
Follow this
guide
to install James JPA-SMTP-guice from command line.