Hi Craig,

Should be something like this:
runtime 'mysql:mysql-connector-java:5.1.40'

Regards,
James


Craig Parker 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" <

> craig@

> > 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?
>>>
>>>





--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Apachecon-Feathercast-Interview-with-Taher-tp4699219p4701005.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to