Hi Nicola, Thank you for your follow up question. Would it be possible to show a complete example of what you've tried? It would certainly help reproducing the problem, given that you're now using 2 third party components that have various ways of interacting badly with each other.From your email, I'm not sure what could be the reason that you're getting the wrong artifact on your classpath.
Thanks, Lukas On Thu, Jul 25, 2019 at 4:38 PM Nicola Micheli <[email protected]> wrote: > I solve one problem but I have problem with jooqRuntime this gradle file > dependencies { > ... > ... > classpath > "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}" > classpath "nu.studer:gradle-jooq-plugin:${jooqPlugin}" > .... > .... > > } > > and nu.studer:gradle-jooq-plugin import org.jooq:jooq:3.11.2 how I force > to use org.jooq.trial:jooq? > > > > > Il giorno giovedì 25 luglio 2019 14:37:47 UTC+2, Lukas Eder ha scritto: >> >> Thank you very much for your message. >> >> Spring Boot depends on the jOOQ Open Source Edition by default (Maven >> groupId "org.jooq"). In order to use a commercial distribution, you have to >> exclude Spring Boot's jOOQ dependency from yours, and add the commercial >> distribution (Maven groupId "org.jooq.trial" in this case) explicitly to >> your classpath. If you're using Maven, then here's a handy blog post that >> explains how to do that: >> >> https://blog.jooq.org/2019/06/26/how-to-use-jooqs-commercial-distributions-with-spring-boot/ >> >> >> Please let me know if I can be of any further assistance, and I'll be >> very happy to help. >> >> Thanks, >> Lukas >> >> On Thu, Jul 25, 2019 at 1:21 PM Nicola Micheli <[email protected]> >> wrote: >> >>> I use JOOQ Trial for generation and it work fine. >>> >>> But when start application I receive this error: >>> >>> Failed to bind properties under 'spring.jooq.sql-dialect' to >>> org.jooq.SQLDialect: >>> >>> Property: spring.jooq.sql-dialect >>> Value: ORACLE >>> Origin: class path resource [application-tn.yaml]:16:18 >>> Reason: failed to convert java.lang.String to org.jooq.SQLDialect >>> >>> Action: >>> >>> Update your application's configuration. The following values are valid: >>> >>> CUBRID >>> DEFAULT >>> DERBY >>> FIREBIRD >>> FIREBIRD_2_5 >>> FIREBIRD_3_0 >>> H2 >>> HSQLDB >>> MARIADB >>> MYSQL >>> MYSQL_5_7 >>> MYSQL_8_0 >>> POSTGRES >>> POSTGRES_10 >>> POSTGRES_9_3 >>> POSTGRES_9_4 >>> POSTGRES_9_5 >>> SQL99 >>> SQLITE >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "jOOQ User Group" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jooq-user/6e973622-b742-4b85-bad7-904a3e1f2eef%40googlegroups.com >>> <https://groups.google.com/d/msgid/jooq-user/6e973622-b742-4b85-bad7-904a3e1f2eef%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to the Google Groups > "jOOQ User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jooq-user/a831fa44-667d-4737-82e9-79b90870e306%40googlegroups.com > <https://groups.google.com/d/msgid/jooq-user/a831fa44-667d-4737-82e9-79b90870e306%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAB4ELO5pdqrg8G_o0%3DarX8%3Dg1GfqcoWtf0dtNjeb4806Kuxi_g%40mail.gmail.com.
