小编pnt*_*nts的帖子

使用maven spring和kotlin创建多模块项目获得未解决的参考

我正在尝试使用 kotlin 和 spring 构建一个多模块 Maven 项目。当 kotlin-maven-plugin 运行编译阶段时出现错误。

[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ starter ---
[INFO] Deleting /Users/pnts/IdeaProjects/getyour/base/starter/target
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.6:revision (default) @ starter ---
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.6:revision (get-the-git-infos) @ starter ---
[INFO] 
[INFO] --- kotlin-maven-plugin:1.3.41:compile (compile) @ starter ---
[INFO] Applied plugin: 'spring'
[ERROR] /Users/pnts/IdeaProjects/getyour/base/starter/src/main/kotlin/org/getyour/webdesign/PlainStarter.kt: (6, 9) Unresolved reference: WebsiteEntryPoint
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for parent 0.0.1-SNAPSHOT:
[INFO] 
[INFO] parent ............................................. SUCCESS [  1.178 s]
[INFO] common ............................................. SUCCESS [ …
Run Code Online (Sandbox Code Playgroud)

spring maven multi-module kotlin kotlin-maven-plugin

5
推荐指数
1
解决办法
2886
查看次数