graphql-spring-boot icon indicating copy to clipboard operation
graphql-spring-boot copied to clipboard

Support for Java Modules

Open ghost opened this issue 4 years ago • 10 comments

Current version of graphql-spring-boot and graphql-java-tool does not support Java modules

To reproduce the issue:

  1. Follow the steps as provided by Baeldung : Getting Started with GraphQL and Spring Boot
  2. Update the dependency to kickstarters as provided here
  3. Change the project SDK to Java 9 or above (I used Java 11)
  4. Run the application from IDE
  5. Upon running I get the following error Error:java: module lombok reads package graphql.spring.web.servlet from both graphql.java.spring.boot.starter.webmvc and graphql.java.spring.webmvc

There are more than 100 such error for different packages. Attaching image for reference.

image

These errors appear only while using the graphql and java-tools dependency. I have verified that other dependencies does not cause this conflict.

ghost avatar Jul 16 '19 13:07 ghost