sofastack / sofa-boot

SOFABoot is a framework that enhances Spring Boot and fully compatible with it, provides readiness check, class isolation, etc.
https://www.sofastack.tech/sofa-boot/docs/Home
Apache License 2.0
4.95k stars 1.26k forks source link

Run the sample-isle project in idea, module does not install #503

Closed codemongkey closed 4 years ago

codemongkey commented 4 years ago

image ru如图所示,明明有module could install,但是不会去install

sofastack-bot[bot] commented 4 years ago

Hi @codemongkey, we detect non-English characters in the issue. This comment is an auto translation by @sofastack-robot to help other users to understand this issue.

We encourage you to describe your issue in English which is more friendly to other users.

image ru As shown, there is a module that could not be installed, but will not go to install

caojie09 commented 4 years ago

你跑的是哪个分支呢,我用 master 分支试了下,运行是正常的:

image

codemongkey commented 4 years ago

@caojie09 你好,那应该是项目导入的问题,可否说明一下你是怎么执行的吗? 我是这么做的,源码下载后用idea(2019)打开sofaboot-sample-with-isle工程,如下图所示: image

修改源码中parent标签,然后run sofa-boot-run下的ApplicationRun

caojie09 commented 4 years ago

修改源码中parent标签,然后run sofa-boot-run下的ApplicationRun

@codemongkey 为什么要改 parent 版本号?如果你想看 3.1.3 版本示例,你可以使用 v3.1.3 这个 tag。

codemongkey commented 4 years ago

@caojie09 image 我改是因为原来的sofaboot-samples找不到,并且sofaboot-dependencies的最新版本是3.1.3。但我已经在settings.xml中加入所要求的profile了 image 如果把整个工程导入idea image 运行application会有 image

所以我想请教一下您,sofaboot-sample-with-isle工程是怎么导入运行的。因为我知道sofaboot有三个版本 image

caojie09 commented 4 years ago

@codemongkey 看下这里的 sample 工程,我们刚把 sample 工程移到统一仓库。