缺少在GraphQLDGS Springboot应用程序中导入
我已经在指南之后的弹簧启动项目上安装并设置GraphQldgs: htttps:// netflix 。
testing/“ rel =” nofollow noreferrer”> https://netflix.github.io/dgs/query-execution-testing/ - 我无法导入其中一个值,如
com.netflix.graphql.dgs.autoconfig.dgsautoconfiguration
我无法找到dgsautoconfiguration。我唯一的事情是下面点表示的asterix(*):
import com.netflix.graphql.dgs.autoconfig。
<dependency>
<groupId>com.netflix.graphql.dgs</groupId>
<artifactId>graphql-dgs-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.netflix.graphql.dgs</groupId>
<artifactId>graphql-dgs-platform-dependencies</artifactId>
<!-- The DGS BOM/platform dependency. This is the only place you set version of DGS -->
<version>4.9.16</version>
<type>pom</type>
<scope>import</scope>
</dependency>
任何帮助都将受到赞赏。谢谢!
I have installed and setup graphqldgs on a spring boot project following the guide here: https://netflix.github.io/dgs/getting-started/
When i try to write a test case - following the guide here: https://netflix.github.io/dgs/query-execution-testing/ - I am unable to import one of the values, as shown below
import com.netflix.graphql.dgs.autoconfig.DgsAutoConfiguration
I cannot locate DgsAutoConfiguration. The only thing i have is an asterix (*) after dot notation below:
import com.netflix.graphql.dgs.autoconfig.
I have these graphqldgs pom dependencies below:
<dependency>
<groupId>com.netflix.graphql.dgs</groupId>
<artifactId>graphql-dgs-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.netflix.graphql.dgs</groupId>
<artifactId>graphql-dgs-platform-dependencies</artifactId>
<!-- The DGS BOM/platform dependency. This is the only place you set version of DGS -->
<version>4.9.16</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Any help is appreciated. Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在Intellij中遇到了这个问题。安装Kotlin插件[1]修复了它。
[1]
I had this issue in IntelliJ. Installing the Kotlin plugin [1] fixed it.
[1] https://plugins.jetbrains.com/plugin/6954-kotlin