graphql-spring-boot
graphql-spring-boot copied to clipboard
Support for Java Modules
Current version of graphql-spring-boot and graphql-java-tool does not support Java modules
To reproduce the issue:
- Follow the steps as provided by Baeldung : Getting Started with GraphQL and Spring Boot
- Update the dependency to kickstarters as provided here
- Change the project SDK to Java 9 or above (I used Java 11)
- Run the application from IDE
- 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.
These errors appear only while using the graphql and java-tools dependency. I have verified that other dependencies does not cause this conflict.