Hi Craig, Based on the output, you probably don't want to be including the .jar suffix, looks like gradle adds that itself.
Regards Scott On 13 January 2017 at 14:51, Craig Parker <[email protected]> wrote: > I added this: > > runtime 'mysql:mysql-connector-java-5.1.40-bin.jar' > > to build.gradle, and tried a few other varyations, but get essentially the > same error. I've run it with info, debug, and stacktrace, but still can't > make heads or tails of it. Not sure how to specify a file path. I've copied > it over to the /home/ofbiz directory referenced with a file: line, but it's > also sitting in framework/entity, which is where I'd rather stick it. > > > * What went wrong: > A problem occurred evaluating root project 'ofbiz'. > > Could not resolve all dependencies for configuration ':runtime'. > > Could not find mysql:mysql-connector-java-5.1.40-bin.jar:. > Searched in the following locations: > https://jcenter.bintray.com/mysql/mysql-connector-java-5.1. > 40-bin.jar//mysql-connector-java-5.1.40-bin.jar-.pom > https://jcenter.bintray.com/mysql/mysql-connector-java-5.1. > 40-bin.jar//mysql-connector-java-5.1.40-bin.jar-.jar > file:/home/ofbiz/.m2/repository/mysql/mysql-connector-java- > 5.1.40-bin.jar//mysql-connector-java-5.1.40-bin.jar-.pom > file:/home/ofbiz/.m2/repository/mysql/mysql-connector-java- > 5.1.40-bin.jar//mysql-connector-java-5.1.40-bin.jar-.jar > Required by: > :ofbiz:unspecified > > > > > On 01/12/2017 12:34 AM, Taher Alkhateeb wrote: > >> http://markmail.org/message/5qjjnxvvkyp7cxax >> >> On Jan 12, 2017 5:47 AM, "Craig Parker" <[email protected]> wrote: >> >> Where does this go these days? Last I knew (13.x) it was >>> framework/entity/lib/jdbc/ but there's no lib in the entity directory any >>> more. Make one, or is there somewhere else I should stick it? Does it >>> matter, as long as framework/entity/config/entityengine.xml specifies >>> the >>> right spot? >>> >>> >>> >
