Я настраиваю среду для проекта компании, в которой работаю. Это многомодульный бэкэнд, на котором работает Spring Boot. У меня не возникло проблем с большей частью настройки, но один из модулей проекта, risch-deploy, не отображается на панели управления Spring Boot, чтобы я мог его запустить или отладить. Этот модуль действует как точка запуска проекта и содержит основной метод.
Однако я все равно могу запустить проект через терминал VS Code, поэтому мне хотелось узнать, что является причиной этого.
Вот структура проекта:
└── risch/
├── config/
├── docker/
├── docs/
├── mvnw
├── mvnw.cmd.cmd
├── pom.xml
├── README.md
├── risch-base/
├── risch-deploy/
│ ├── pom.xml
│ ├── src/
│ │ └── main/
│ │ └── java/
│ │ ├── br/
│ │ │ └── com/
│ │ │ └── risch/
│ │ │ ├── config/
│ │ │ │ └── WebConfig.java
│ │ │ └── RischApplication.java
│ │ └── META-INF/
│ │ └── MANIFEST.MF
├── risch-event/
├── risch-legacy-core/
├── risch-log/
├── risch-mobile-core/
├── risch-security/
├── risch-web-core/
└── src/
Это содержимое корневого файла pom.xml:
4.0.0
br.com.risch
risch
1.0.0
risch-base
Module dedicated to Entity and utility classes such as global
Enums, ObjectUtil, Exceptions, resources with S3, Validators, annotations
and anything else that must be exposed to the entire project, from the Web module,
to mobile, security, audit logs, events and the like.
jar
org.springframework.boot
spring-boot-maven-plugin
true
А это содержимое файла risch-deploy/pom.xml:
4.0.0
br.com.risch
risch
1.0.0
risch-deploy
risch-deploy
A module with the purpose of grouping all the APIs of the main modules
jar
br.com.risch
risch-web-core
${project.version}
br.com.risch
risch-mobile-core
${project.version}
br.com.risch
risch-legacy-core
${project.version}
org.springframework.boot
spring-boot-starter-web
org.springframework.cloud
spring-cloud-starter-openfeign
org.springframework.boot
spring-boot-devtools
runtime
true
org.springframework.boot
spring-boot-starter-test
test
org.springframework.boot
spring-boot-starter-actuator
org.liquibase
liquibase-core
org.apache.maven.plugins
maven-jar-plugin
true
br.com.risch.RischApplication
org.springframework.boot
spring-boot-maven-plugin
br.com.risch.RischApplication
false
repackage
org.apache.maven.plugins
maven-resources-plugin
jpg
jpeg
png
svg
bmp
ico
pdf
xlsx
xls
csv
docx
doc
txt
ods
properties
> html
htm
xml
js
css
sql
ftl
ftlh
ftlx
jrxml
jasper
../src/main/resources
true
Windows
Windows
Windows
bat
unix
unix
unix
sh
local
true
!spring.profiles.active
local
dev
dev
hml
hml
prd
prd
Подробнее здесь: https://stackoverflow.com/questions/798 ... ts-modules
Панель управления Spring Boot в VS Code не отображает ни один из модулей проекта ⇐ JAVA
Программисты JAVA общаются здесь
1763737523
Anonymous
Я настраиваю среду для проекта компании, в которой работаю. Это многомодульный бэкэнд, на котором работает Spring Boot. У меня не возникло проблем с большей частью настройки, но один из модулей проекта, risch-deploy, не отображается на панели управления Spring Boot, чтобы я мог его запустить или отладить. Этот модуль действует как точка запуска проекта и содержит основной метод.
Однако я все равно могу запустить проект через терминал VS Code, поэтому мне хотелось узнать, что является причиной этого.
Вот структура проекта:
└── risch/
├── config/
├── docker/
├── docs/
├── mvnw
├── mvnw.cmd.cmd
├── pom.xml
├── README.md
├── risch-base/
├── risch-deploy/
│ ├── pom.xml
│ ├── src/
│ │ └── main/
│ │ └── java/
│ │ ├── br/
│ │ │ └── com/
│ │ │ └── risch/
│ │ │ ├── config/
│ │ │ │ └── WebConfig.java
│ │ │ └── RischApplication.java
│ │ └── META-INF/
│ │ └── MANIFEST.MF
├── risch-event/
├── risch-legacy-core/
├── risch-log/
├── risch-mobile-core/
├── risch-security/
├── risch-web-core/
└── src/
Это содержимое корневого файла pom.xml:
4.0.0
br.com.risch
risch
1.0.0
risch-base
Module dedicated to Entity and utility classes such as global
Enums, ObjectUtil, Exceptions, resources with S3, Validators, annotations
and anything else that must be exposed to the entire project, from the Web module,
to mobile, security, audit logs, events and the like.
jar
org.springframework.boot
spring-boot-maven-plugin
true
А это содержимое файла risch-deploy/pom.xml:
4.0.0
br.com.risch
risch
1.0.0
risch-deploy
risch-deploy
A module with the purpose of grouping all the APIs of the main modules
jar
br.com.risch
risch-web-core
${project.version}
br.com.risch
risch-mobile-core
${project.version}
br.com.risch
risch-legacy-core
${project.version}
org.springframework.boot
spring-boot-starter-web
org.springframework.cloud
spring-cloud-starter-openfeign
org.springframework.boot
spring-boot-devtools
runtime
true
org.springframework.boot
spring-boot-starter-test
test
org.springframework.boot
spring-boot-starter-actuator
org.liquibase
liquibase-core
org.apache.maven.plugins
maven-jar-plugin
true
br.com.risch.RischApplication
org.springframework.boot
spring-boot-maven-plugin
br.com.risch.RischApplication
false
repackage
org.apache.maven.plugins
maven-resources-plugin
jpg
jpeg
png
svg
bmp
ico
xlsx
xls
csv
docx
doc
txt
ods
properties
> html
htm
xml
js
css
sql
ftl
ftlh
ftlx
jrxml
jasper
../src/main/resources
true
Windows
Windows
Windows
bat
unix
unix
unix
sh
local
true
!spring.profiles.active
local
dev
dev
hml
hml
prd
prd
Подробнее здесь: [url]https://stackoverflow.com/questions/79826651/spring-boot-dashboard-in-vs-code-isnt-displaying-one-of-the-projects-modules[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия