Hi Lukas,

Im trying to use Jooq in a multi module Spring Boot Application with Gradle 
and JDK 11.

The project is splitted into one module per layer (domain, persistence, 
service, rest-api) and the jooq dependency (
'org.springframework.boot:spring-boot-starter-jooq') is in the persistence 
module.

For code generation I use etiennestuder/gradle-jooq-plugin and it works 
fine.

When I run the application and try to execute a query i get the Exception: 

java.lang.ClassNotFoundException: org.jooq.TableOptions
> at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
>  
> ~[na:na]
> at 
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
>  
> ~[na:na]
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[na:na]
> ...


 If I use Jooq in a single module Spring Boot Gradle application it works 
fine.

The problem would seem to be with multi-modules. Please do you have a 
suggestion about what the problem should be?

Thanks.

-- 
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/3d2c444c-5d50-48c9-ae58-125294f64d39%40googlegroups.com.

Reply via email to