jar in lib folder not loading in 2.5.0

64 vues
Accéder directement au premier message non lu

Pascal DeMilly

non lue,
18 avr. 2015, 13:23:3618/04/2015
à grails-de...@googlegroups.com
I have a legacy jdbc driver in lib that I can't get to load except if I add it manually to -cp when running grails

grails -cp  myjdbc.jar run-app

I tried grails compile --refresh-dependencies as a possible solution but nothing happened

Thx

Pascal

Mihai Glonț

non lue,
19 avr. 2015, 05:16:2519/04/2015
à grails-de...@googlegroups.com
Grails uses Maven for dependency resolution, so I think you have to use the Maven way - if you can't find that driver in mavenCentral, perhaps there is a company-wide nexus/artifactory instance where you can publish that jar.

I hope this helps.

Mihai.
--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/c39c0391-c368-4552-9f78-80bc22a324b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sergio Michels

non lue,
23 avr. 2015, 20:00:0223/04/2015
à grails-de...@googlegroups.com
Can you publish it to your local maven repository? The same process is done to Oracle private drivers, for example.

--
Sérgio Michels

Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message