This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Error while running spring data hazelcast #2697
Comments
On Debugging I found it is not able to find compiler and compiler is coming as null changing the command to execute from compiler rather then from jvm. The behaviour changed as it found the compiler but it is not able to find my package these classes are added as an dependency to my project. 2020-11-25 08:59:51.914 INFO 7472 --- [nio-9997-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 22 ms
2020-11-25 08:59:54.674 ERROR 7472 --- [nio-9997-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.mysema.codegen.CodegenException: Compilation of public class Q_0835626983_1275614662_1275614662_344809556_1195259493 {
public static Iterable<com.scb.cccf.ace.common.model.UserDetails> eval(Iterable<com.scb.cccf.ace.common.model.UserDetails> userDetails_, Boolean a1, String a2) {
java.util.List<com.scb.cccf.ace.common.model.UserDetails> rv = new java.util.ArrayList<com.scb.cccf.ace.common.model.UserDetails>();
for (com.scb.cccf.ace.common.model.UserDetails userDetails : userDetails_) {
try {
if (a1 == a1.booleanValue() && userDetails.getPsid().toLowerCase().contains(a2)) {
rv.add(userDetails);
}
} catch (NullPointerException npe) { }
}
return rv; }
}
failed.
/Q_0835626983_1275614662_1275614662_344809556_1195259493.java:3: error: package com.scb.cccf.ace.common.model does not exist
public static Iterable<com.scb.cccf.ace.common.model.UserDetails> eval(Iterable<com.scb.cccf.ace.common.model.UserDetails> userDetails_, Boolean a1, String a2) {
^
/Q_0835626983_1275614662_1275614662_344809556_1195259493.java:3: error: package com.scb.cccf.ace.common.model does not exist
public static Iterable<com.scb.cccf.ace.common.model.UserDetails> eval(Iterable<com.scb.cccf.ace.common.model.UserDetails> userDetails_, Boolean a1, String a2) { |
Are you using a JDK instead of a JRE? |
Its also possible that |
For the initial stack trace I am running it by direct command on window (Ends up in null pointer exception for no compiler)
for the 2nd stack trace I specified the complete path (Ends up In Compilation Error of package not found)
The code works correctly when run in Intellij IDE directly com.scb.cccf.ace.common.model This package is not directly part of the code it is part of a dependency which is added in pom of the project <dependency>
<groupId>com.scb.cccf.ace</groupId>
<artifactId>cccf-svc-ace-common</artifactId>
<version>develop-8_1606199604298</version>
<exclusions>
<exclusion>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-cassandra</artifactId>
</exclusion>
</exclusions>
</dependency>
|
How can we check that does this Thread.currentThread().getContextClassLoader() Will it have access to dependency code if added in pom as the package is added as part of dependency. |
That depends on which thread intantiates the You could try to set a breakpoint at DefaultEvaluatorFactory R78 and attempt to evaluate |
It appears that the |
However this is the complete stack trace of the error I am not sure if it is UserDetails or lombok annotations that is causing issue here 2020-11-25 17:26:48.423 ERROR 1040 --- [nio-9997-exec-7] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.mysema.codegen.CodegenException: Compilation of public class Q_0835626983_1275614662_1275614662_344809556_1195259493 {
public static Iterable<com.scb.cccf.ace.common.model.UserDetails> eval(Iterable<com.scb.cccf.ace.common.model.UserDetails> userDetails_, Boolean a1, String a2) {
java.util.List<com.scb.cccf.ace.common.model.UserDetails> rv = new java.util.ArrayList<com.scb.cccf.ace.common.model.UserDetails>();
for (com.scb.cccf.ace.common.model.UserDetails userDetails : userDetails_) {
try {
if (a1 == a1.booleanValue() && userDetails.getPsid().toLowerCase().contains(a2)) {
rv.add(userDetails);
}
} catch (NullPointerException npe) { }
}
return rv; }
}
failed.
/Q_0835626983_1275614662_1275614662_344809556_1195259493.java:3: error: package com.scb.cccf.ace.common.model does not exist
public static Iterable<com.scb.cccf.ace.common.model.UserDetails> eval(Iterable<com.scb.cccf.ace.common.model.UserDetails> userDetails_, Boolean a1, String a2) {
^
/Q_0835626983_1275614662_1275614662_344809556_1195259493.java:3: error: package com.scb.cccf.ace.common.model does not exist
public static Iterable<com.scb.cccf.ace.common.model.UserDetails> eval(Iterable<com.scb.cccf.ace.common.model.UserDetails> userDetails_, Boolean a1, String a2) {
^
error: Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider lombok.launch.AnnotationProcessorHider$AnnotationProcessor could not be instantiated: java.lang.RuntimeException: java.lang.ClassNotFoundException: lombok.core.AnnotationProcessor
] with root cause
com.mysema.codegen.CodegenException: Compilation of public class Q_0835626983_1275614662_1275614662_344809556_1195259493 {
public static Iterable<com.scb.cccf.ace.common.model.UserDetails> eval(Iterable<com.scb.cccf.ace.common.model.UserDetails> userDetails_, Boolean a1, String a2) {
java.util.List<com.scb.cccf.ace.common.model.UserDetails> rv = new java.util.ArrayList<com.scb.cccf.ace.common.model.UserDetails>();
for (com.scb.cccf.ace.common.model.UserDetails userDetails : userDetails_) {
try {
if (a1 == a1.booleanValue() && userDetails.getPsid().toLowerCase().contains(a2)) {
rv.add(userDetails);
}
} catch (NullPointerException npe) { }
}
return rv; }
}
failed.
/Q_0835626983_1275614662_1275614662_344809556_1195259493.java:3: error: package com.scb.cccf.ace.common.model does not exist
public static Iterable<com.scb.cccf.ace.common.model.UserDetails> eval(Iterable<com.scb.cccf.ace.common.model.UserDetails> userDetails_, Boolean a1, String a2) {
^
/Q_0835626983_1275614662_1275614662_344809556_1195259493.java:3: error: package com.scb.cccf.ace.common.model does not exist
public static Iterable<com.scb.cccf.ace.common.model.UserDetails> eval(Iterable<com.scb.cccf.ace.common.model.UserDetails> userDetails_, Boolean a1, String a2) {
^
error: Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider lombok.launch.AnnotationProcessorHider$AnnotationProcessor could not be instantiated: java.lang.RuntimeException: java.lang.ClassNotFoundException: lombok.core.AnnotationProcessor
at com.mysema.codegen.JDKEvaluatorFactory.compile(JDKEvaluatorFactory.java:74) ~[codegen-0.6.8.jar!/:na]
at com.mysema.codegen.AbstractEvaluatorFactory.createEvaluator(AbstractEvaluatorFactory.java:128) ~[codegen-0.6.8.jar!/:na]
at com.querydsl.collections.DefaultEvaluatorFactory.createEvaluator(DefaultEvaluatorFactory.java:151) ~[querydsl-collections-4.4.0.jar!/:na]
at com.querydsl.collections.DefaultQueryEngine.evaluateSingleSource(DefaultQueryEngine.java:166) ~[querydsl-collections-4.4.0.jar!/:na]
at com.querydsl.collections.DefaultQueryEngine.count(DefaultQueryEngine.java:55) ~[querydsl-collections-4.4.0.jar!/:na]
at com.querydsl.collections.AbstractCollQuery.fetchResults(AbstractCollQuery.java:189) ~[querydsl-collections-4.4.0.jar!/:na]
at org.springframework.data.keyvalue.repository.support.QuerydslKeyValueRepository.findAll(QuerydslKeyValueRepository.java:156) ~[spring-data-keyvalue-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65]
at org.springframework.data.repository.core.support.ImplementationInvocationMetadata.invoke(ImplementationInvocationMetadata.java:72) ~[spring-data-commons-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:382) ~[spring-data-commons-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:205) ~[spring-data-commons-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:550) ~[spring-data-commons-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:155) ~[spring-data-commons-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:130) ~[spring-data-commons-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at com.sun.proxy.$Proxy112.findAll(Unknown Source) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at com.sun.proxy.$Proxy112.findAll(Unknown Source) ~[na:na]
at com.scb.cccf.ace.admin.service.AdminService.fetchAllUsers(AdminService.java:36) ~[classes!/:${build.version}-${build.number}]
at com.scb.cccf.ace.admin.controller.AdminController.fetchAllUsers(AdminController.java:31) ~[classes!/:${build.version}-${build.number}]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) ~[spring-webmvc-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) ~[spring-webmvc-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) ~[spring-webmvc-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) ~[spring-webmvc-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) ~[spring-webmvc-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) ~[spring-webmvc-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:626) ~[tomcat-embed-core-9.0.39.jar!/:4.0.FR]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) ~[tomcat-embed-core-9.0.39.jar!/:4.0.FR]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.39.jar!/:9.0.39]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93) ~[spring-boot-actuator-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) ~[tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_65]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.39.jar!/:9.0.39]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] |
Compilation fails because you rely on Lombok. Try putting lombok in compile scope instead of provided scope (as you'll need it runtime because you're trying to do runtime compilation). |
lombok is already provided and there is no scope for it here is my pom <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.5.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.scb.cccf.ace</groupId>
<artifactId>cccf-svc-ace-admin</artifactId>
<version>${build.version}-${build.number}</version>
<name>ace-admin</name>
<description>ACE Admin Project</description>
<properties>
<java.version>1.8</java.version>
<jacoco.version>0.8.4</jacoco.version>
<querydsl.version>4.4.0</querydsl.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.2.15</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-hateoas</artifactId>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-webmvc-core</artifactId>
<version>1.2.15</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.22</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>2.0.1.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>6.0.10.Final</version>
</dependency>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>javax.persistence-api</artifactId>
</dependency>
<dependency>
<groupId>com.scb.cccf.ace</groupId>
<artifactId>cccf-svc-ace-common</artifactId>
<version>develop-8_1606199604298</version>
<exclusions>
<exclusion>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-cassandra</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-cassandra</artifactId>
<version>2.0.8.RELEASE</version>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>3.1.12</version>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>spring-data-hazelcast</artifactId>
<version>2.2.5</version>
<exclusions>
<exclusion>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast-client</artifactId>
<version>3.12.7</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>org.jacoco</groupId>
<artifactId>org.jacoco.agent</artifactId>
<classifier>runtime</classifier>
<scope>test</scope>
<version>${jacoco.version}</version>
</dependency>
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-collections</artifactId>
</dependency>
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-core</artifactId>
<version>4.3.1</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</dependency>
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-apt</artifactId>
<version>${querydsl.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.mysema.maven</groupId>
<artifactId>apt-maven-plugin</artifactId>
<version>1.1.3</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>process</goal>
</goals>
<configuration>
<outputDirectory>target/generated-sources</outputDirectory>
<processor>com.querydsl.apt.QuerydslAnnotationProcessor</processor>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-apt</artifactId>
<version>${querydsl.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<configuration>
<dataFile>${project.build.directory}/jacoco.exec</dataFile>
<outputDirectory>${project.build.directory}/coverage-reports</outputDirectory>
<excludes>
<exclude>org/w3/**/*</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>default-instrument</id>
<goals>
<goal>instrument</goal>
</goals>
</execution>
<execution>
<id>default-restore-instrumented-classes</id>
<goals>
<goal>restore-instrumented-classes</goal>
</goals>
</execution>
<execution>
<id>post-unit-test</id>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>verify-coverage</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<haltOnFailure>true</haltOnFailure>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>INSTRUCTION</counter>
<value>COVEREDRATIO</value>
<minimum>20%</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<failIfNoTests>true</failIfNoTests>
<systemPropertyVariables>
<jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<goal>revision</goal>
</goals>
<phase>initialize</phase>
</execution>
</executions>
<configuration>
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>releases</id>
<url>https://artifactory.global.standardchartered.com/artifactory/maven-release</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<url>https://artifactory.global.standardchartered.com/artifactory/maven-snapshot</url>
</snapshotRepository>
</distributionManagement>
</project> |
Could you provide the log of |
Maven Dependency Tree [INFO] +- org.springdoc:springdoc-openapi-ui:jar:1.2.15:compile
[INFO] | +- org.webjars:swagger-ui:jar:3.24.0:compile
[INFO] | \- org.webjars:webjars-locator:jar:0.37:compile
[INFO] | +- org.webjars:webjars-locator-core:jar:0.45:compile
[INFO] | | +- io.github.classgraph:classgraph:jar:4.8.69:compile
[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.11.3:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.11.3:compile
[INFO] | | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.11.3:compile
[INFO] | \- org.apache.commons:commons-lang3:jar:3.10:compile
[INFO] +- org.springdoc:springdoc-openapi-webmvc-core:jar:1.2.15:compile
[INFO] | +- org.springdoc:springdoc-openapi-common:jar:1.2.15:compile
[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.3.5.RELEASE:compile
[INFO] | | +- io.swagger.core.v3:swagger-models:jar:2.1.0:compile
[INFO] | | +- io.swagger.core.v3:swagger-annotations:jar:2.1.0:compile
[INFO] | | \- io.swagger.core.v3:swagger-integration:jar:2.1.0:compile
[INFO] | | \- io.swagger.core.v3:swagger-core:jar:2.1.0:compile
[INFO] | | +- javax.xml.bind:jaxb-api:jar:2.3.1:compile
[INFO] | | | \- javax.activation:javax.activation-api:jar:1.2.0:compile
[INFO] | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.11.3:compile
[INFO] | \- org.springframework:spring-webmvc:jar:5.2.10.RELEASE:compile
[INFO] | \- org.springframework:spring-aop:jar:5.2.10.RELEASE:compile
[INFO] +- org.mockito:mockito-core:jar:3.3.3:test
[INFO] | +- net.bytebuddy:byte-buddy:jar:1.10.17:test
[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.10.17:test
[INFO] | \- org.objenesis:objenesis:jar:2.6:test
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.3.5.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.3.5.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot:jar:2.3.5.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:2.3.5.RELEASE:compile
[INFO] | | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] | | | | \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.13.3:compile
[INFO] | | | | \- org.apache.logging.log4j:log4j-api:jar:2.13.3:compile
[INFO] | | | \- org.slf4j:jul-to-slf4j:jar:1.7.30:compile
[INFO] | | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | | \- org.yaml:snakeyaml:jar:1.26:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.3.5.RELEASE:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.11.3:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.3:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.11.3:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.3.5.RELEASE:compile
[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.39:compile
[INFO] | | +- org.glassfish:jakarta.el:jar:3.0.3:compile
[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.39:compile
[INFO] | \- org.springframework:spring-web:jar:5.2.10.RELEASE:compile
[INFO] +- org.projectlombok:lombok:jar:1.16.22:compile
[INFO] +- javax.validation:validation-api:jar:2.0.1.Final:compile
[INFO] +- org.hibernate.validator:hibernate-validator:jar:6.0.10.Final:compile
[INFO] | +- org.jboss.logging:jboss-logging:jar:3.4.1.Final:compile
[INFO] | \- com.fasterxml:classmate:jar:1.5.1:compile
[INFO] +- javax.persistence:javax.persistence-api:jar:2.2:compile
[INFO] +- com.scb.cccf.ace:cccf-svc-ace-common:jar:develop-8_1606199604298:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-actuator:jar:2.3.5.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.3.5.RELEASE:compile
[INFO] | | | \- org.springframework.boot:spring-boot-actuator:jar:2.3.5.RELEASE:compile
[INFO] | | \- io.micrometer:micrometer-core:jar:1.5.6:compile
[INFO] | | +- org.hdrhistogram:HdrHistogram:jar:2.1.12:compile
[INFO] | | \- org.latencyutils:LatencyUtils:jar:2.0.3:runtime
[INFO] | +- org.springframework.boot:spring-boot-starter-webflux:jar:2.3.5.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-reactor-netty:jar:2.3.5.RELEASE:compile
[INFO] | | | \- io.projectreactor.netty:reactor-netty:jar:0.9.13.RELEASE:compile
[INFO] | | | +- io.netty:netty-codec-http:jar:4.1.53.Final:compile
[INFO] | | | +- io.netty:netty-codec-http2:jar:4.1.53.Final:compile
[INFO] | | | +- io.netty:netty-handler-proxy:jar:4.1.53.Final:compile
[INFO] | | | | \- io.netty:netty-codec-socks:jar:4.1.53.Final:compile
[INFO] | | | \- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.53.Final:compile
[INFO] | | | \- io.netty:netty-transport-native-unix-common:jar:4.1.53.Final:compile
[INFO] | | +- org.springframework:spring-webflux:jar:5.2.10.RELEASE:compile
[INFO] | | \- org.synchronoss.cloud:nio-multipart-parser:jar:1.1.0:compile
[INFO] | | \- org.synchronoss.cloud:nio-stream-storage:jar:1.1.3:compile
[INFO] | +- org.hectorclient:hector-core:jar:2.0-0:compile
[INFO] | | +- commons-lang:commons-lang:jar:2.4:compile
[INFO] | | +- commons-pool:commons-pool:jar:1.6:compile
[INFO] | | +- org.apache.cassandra:cassandra-thrift:jar:2.0.4:compile
[INFO] | | | \- org.apache.thrift:libthrift:jar:0.9.1:compile
[INFO] | | +- com.github.stephenc.eaio-uuid:uuid:jar:3.2.0:compile
[INFO] | | +- com.ecyrd.speed4j:speed4j:jar:0.9:compile
[INFO] | | \- com.yammer.metrics:metrics-core:jar:2.2.0:compile
[INFO] | +- com.hazelcast:hazelcast-spring:jar:3.12.10:compile
[INFO] | +- pl.project13.maven:git-commit-id-plugin:jar:3.0.0:compile
[INFO] | | +- org.apache.maven:maven-plugin-api:jar:3.0:compile
[INFO] | | | +- org.apache.maven:maven-model:jar:3.0:compile
[INFO] | | | +- org.apache.maven:maven-artifact:jar:3.0:compile
[INFO] | | | \- org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[INFO] | | | \- org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[INFO] | | | \- org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[INFO] | | +- org.apache.maven:maven-core:jar:3.0:compile
[INFO] | | | +- org.apache.maven:maven-settings:jar:3.0:compile
[INFO] | | | +- org.apache.maven:maven-settings-builder:jar:3.0:compile
[INFO] | | | +- org.apache.maven:maven-repository-metadata:jar:3.0:compile
[INFO] | | | +- org.apache.maven:maven-model-builder:jar:3.0:compile
[INFO] | | | +- org.apache.maven:maven-aether-provider:jar:3.0:runtime
[INFO] | | | +- org.sonatype.aether:aether-impl:jar:1.7:compile
[INFO] | | | | \- org.sonatype.aether:aether-spi:jar:1.7:compile
[INFO] | | | +- org.sonatype.aether:aether-api:jar:1.7:compile
[INFO] | | | +- org.sonatype.aether:aether-util:jar:1.7:compile
[INFO] | | | +- org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[INFO] | | | +- org.codehaus.plexus:plexus-utils:jar:2.0.4:compile
[INFO] | | | +- org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[INFO] | | | +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[INFO] | | | \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[INFO] | | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[INFO] | | +- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
[INFO] | | +- joda-time:joda-time:jar:2.10.1:compile
[INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] | | | +- org.apache.httpcomponents:httpcore:jar:4.4.13:compile
[INFO] | | | \- commons-codec:commons-codec:jar:1.14:compile
[INFO] | | \- org.eclipse.jgit:org.eclipse.jgit:jar:5.2.0.201812061821-r:compile
[INFO] | | +- com.jcraft:jsch:jar:0.1.54:compile
[INFO] | | +- com.jcraft:jzlib:jar:1.1.1:compile
[INFO] | | \- com.googlecode.javaewah:JavaEWAH:jar:1.1.6:compile
[INFO] | \- org.springframework.boot:spring-boot-starter-validation:jar:2.3.5.RELEASE:compile
[INFO] +- org.springframework.data:spring-data-cassandra:jar:2.0.8.RELEASE:compile
[INFO] | +- org.springframework:spring-context:jar:5.2.10.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:5.2.10.RELEASE:compile
[INFO] | +- org.springframework:spring-core:jar:5.2.10.RELEASE:compile
[INFO] | | \- org.springframework:spring-jcl:jar:5.2.10.RELEASE:compile
[INFO] | +- org.springframework:spring-tx:jar:5.2.10.RELEASE:compile
[INFO] | +- org.springframework:spring-expression:jar:5.2.10.RELEASE:compile
[INFO] | +- com.datastax.cassandra:cassandra-driver-core:jar:3.3.2:compile
[INFO] | | +- io.netty:netty-handler:jar:4.1.53.Final:compile
[INFO] | | | +- io.netty:netty-common:jar:4.1.53.Final:compile
[INFO] | | | +- io.netty:netty-resolver:jar:4.1.53.Final:compile
[INFO] | | | +- io.netty:netty-buffer:jar:4.1.53.Final:compile
[INFO] | | | +- io.netty:netty-transport:jar:4.1.53.Final:compile
[INFO] | | | \- io.netty:netty-codec:jar:4.1.53.Final:compile
[INFO] | | +- io.dropwizard.metrics:metrics-core:jar:4.1.14:compile
[INFO] | | +- com.github.jnr:jnr-ffi:jar:2.0.7:compile
[INFO] | | | +- com.github.jnr:jffi:jar:1.2.10:compile
[INFO] | | | +- com.github.jnr:jffi:jar:native:1.2.10:runtime
[INFO] | | | +- org.ow2.asm:asm:jar:5.0.3:compile
[INFO] | | | +- org.ow2.asm:asm-commons:jar:5.0.3:compile
[INFO] | | | +- org.ow2.asm:asm-analysis:jar:5.0.3:compile
[INFO] | | | +- org.ow2.asm:asm-tree:jar:5.0.3:compile
[INFO] | | | +- org.ow2.asm:asm-util:jar:5.0.3:compile
[INFO] | | | \- com.github.jnr:jnr-x86asm:jar:1.0.2:compile
[INFO] | | \- com.github.jnr:jnr-posix:jar:3.0.27:compile
[INFO] | | \- com.github.jnr:jnr-constants:jar:0.9.0:compile
[INFO] | +- com.google.guava:guava:jar:19.0:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] +- com.github.spotbugs:spotbugs-annotations:jar:3.1.12:compile
[INFO] | \- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] +- com.hazelcast:spring-data-hazelcast:jar:2.2.5:compile
[INFO] | \- org.springframework.data:spring-data-keyvalue:jar:2.3.5.RELEASE:compile
[INFO] +- com.hazelcast:hazelcast-client:jar:3.12.7:compile
[INFO] | \- com.hazelcast:hazelcast:jar:3.12.10:compile
[INFO] +- org.springframework.data:spring-data-commons:jar:2.3.5.RELEASE:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.3.5.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test:jar:2.3.5.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.3.5.RELEASE:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:test
[INFO] | | \- net.minidev:json-smart:jar:2.3:test
[INFO] | | \- net.minidev:accessors-smart:jar:1.2:test
[INFO] | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test
[INFO] | | \- jakarta.activation:jakarta.activation-api:jar:1.2.2:test
[INFO] | +- org.assertj:assertj-core:jar:3.16.1:test
[INFO] | +- org.hamcrest:hamcrest:jar:2.2:test
[INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.6.3:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.6.3:test
[INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | | | \- org.junit.platform:junit-platform-commons:jar:1.6.3:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.6.3:test
[INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.6.3:test
[INFO] | +- org.junit.vintage:junit-vintage-engine:jar:5.6.3:test
[INFO] | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] | | +- org.junit.platform:junit-platform-engine:jar:1.6.3:test
[INFO] | | \- junit:junit:jar:4.13.1:test
[INFO] | +- org.mockito:mockito-junit-jupiter:jar:3.3.3:test
[INFO] | +- org.skyscreamer:jsonassert:jar:1.5.0:test
[INFO] | | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[INFO] | +- org.springframework:spring-test:jar:5.2.10.RELEASE:test
[INFO] | \- org.xmlunit:xmlunit-core:jar:2.7.0:test
[INFO] +- io.projectreactor:reactor-test:jar:3.3.11.RELEASE:test
[INFO] | \- io.projectreactor:reactor-core:jar:3.3.11.RELEASE:compile
[INFO] | \- org.reactivestreams:reactive-streams:jar:1.0.3:compile
[INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] +- org.jacoco:org.jacoco.agent:jar:runtime:0.8.4:test
[INFO] +- com.querydsl:querydsl-collections:jar:4.1.3:compile
[INFO] | \- com.querydsl:querydsl-codegen:jar:4.1.3:compile
[INFO] | +- com.mysema.codegen:codegen:jar:0.6.8:compile
[INFO] | | \- org.eclipse.jdt.core.compiler:ecj:jar:4.3.1:compile
[INFO] | +- javax.inject:javax.inject:jar:1:compile
[INFO] | \- org.reflections:reflections:jar:0.9.9:compile
[INFO] | +- org.javassist:javassist:jar:3.18.2-GA:compile
[INFO] | \- com.google.code.findbugs:annotations:jar:2.0.1:compile
[INFO] +- com.querydsl:querydsl-apt:jar:4.1.3:compile
[INFO] +- com.querydsl:querydsl-core:jar:4.1.3:compile
[INFO] | +- com.mysema.commons:mysema-commons-lang:jar:0.2.4:compile
[INFO] | \- com.infradna.tool:bridge-method-annotation:jar:1.13:compile
[INFO] \- org.springframework:spring-jdbc:jar:5.2.10.RELEASE:compile
`` |
I've added Lombok as a dependency in an example project with Spring but failed to reproduce the issue. Perhaps you can reproduce the issue in our starter project (for example: https://github.com/querydsl/querydsl/tree/master/querydsl-examples/querydsl-example-sql-spring). However, these projects currently don't compile against Java 8 (I am still working on a full Java 8+ migration and Java >=9 support for the next release). Alternatively, feel free to share your code with me. My email is listed on my Github profile. |
I checked the issue is not with lombok as the code is working fine when run in Intellij and on debug even Intellij compiler does not have access to lombok plugin Alternatively the only difference and analysis revealed is that how Intellij is starting the application instead of jar it is using the class name directly INTELLIJ RUN COMMAND I tried adding all the classes to classpath also just like intellij nothing worked it worked only when I changed the last line from DOES NOT WORK |
Interesting find, perhaps there is another way we can detect the proper classloader. Perhaps I'll do some local testing. |
I did lot of investigation and digging and found that there are 3 issue 2 errors and 1 warning in the above compilation on digging around warning found this stack overflow issue : https://stackoverflow.com/questions/48339382/noclassdeffounderror-javacprocessingenvironment-at-runtime-after-tomcat-8-upgra so added tools.jar to my maven dependency that solved the behaviour in such a way that warning went away for lombok and now the latest stack trace it complains only about package not found which I can understand that the compiler does not have access to the package Now to note : that com.scb.cccf.ace.common.model is part of dependency in my project and is not directly in the project.
|
I've made some improvements to the selection of the classloader and the compiler in #2704 . Now, |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Error running dynamic dsl query
The text was updated successfully, but these errors were encountered: