腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Spring
Boot
多
模块
注入
错误
、
、
、
、
当它是一个单
模块
应用程序时,这个项目工作起来没有任何问题。当我将文件拆分到不同的
模块
中时,我不能再运行它。\_com.example.Application.java\_service
错误
:package com.example.utils.mappers; pub
浏览 4
提问于2018-07-28
得票数 0
回答已采纳
1
回答
应用
Spring
Boot
插件时找不到包
、
、
、
我有一个包含以下build.gradel文件的
多
模块
项目 核心: repositories {} providedRuntime'org.springframework.
boot
:
spring
-
boot
-starter-tomcat' implementation project,测试
模块
通过创建一个通过依赖
注
浏览 69
提问于2020-11-30
得票数 1
回答已采纳
1
回答
Spring
-
boot
1.4.4到1.5.1中断自动装配
我有一个
多
模块
的maven项目,在这个项目中,
spring
-
boot
应用程序
模块
依赖于另一个打包为jar的
模块
。|- a.b.c.Application另一个
模块
在
boot</em
浏览 2
提问于2017-02-08
得票数 2
6
回答
未能执行目标org.springframework.
boot
:
spring
-
boot
-maven-plugin:1.5.6.RELEASE
、
、
我下载了plugin,但仍然得到相同的
错误
,如果需要的话,我没有代理工具/选项。<parent> <artifactId>
spring
-
boot
-starter-parent</groupId> <artifactId>
spr
浏览 4
提问于2017-07-30
得票数 3
1
回答
maven
多
模块
项目中的
Spring
依赖
注入
、
、
我正在构建一个具有4个
模块
的
多
模块
maven项目。对于其中的两个(一个具有rest控制器,另一个具有核心业务逻辑),我需要依赖
注入
的强大功能。但根本不起作用。下面是我的父母pom: ....</groupId> <version>2.3.4.RELEASE<groupId>o
浏览 18
提问于2020-10-22
得票数 0
回答已采纳
3
回答
使用maven
多
模块
项目的
Spring
boot
、
我有一个maven
多
模块
项目,就像下面的帖子中的第一个答案: <artifactId>
spring
-
浏览 7
提问于2015-12-21
得票数 6
2
回答
如何在maven pom.xml文件中有另一个父依赖项和
Spring
Boot
父依赖项?
、
、
、
我目前正在开发一个
Spring
Boot
多
模块
项目。在设置
Spring
Boot
项目时,在pom.xml中需要有对
Spring
Boot
的父引用,例如 <groupId>org.springframework.
boot
</groupId> <artifactId>
spring
-
boot
浏览 5
提问于2018-02-14
得票数 5
回答已采纳
4
回答
Spring
Boot
多
模块
maven项目重新打包失败
、
、
、
、
我目前正在跟随John Thompson的
Spring
Framework初学者到Guru课程。我按照他的步骤一步一步地为
spring
boot
上的
spring
宠物诊所创建
多
模块
maven项目。当我单击我的根
模块
上的package时,它显示重新打包失败,无法找到主类。configuration> </executions> <
浏览 126
提问于2019-07-25
得票数 3
1
回答
运行mvn sping-
boot
:build-image时找不到主类
、
、
、
我有一个maven
多
模块
项目。</groupId> <version>2.5.5</version> <groupId>org.springframework.
boot
</groupId> <artif
浏览 37
提问于2021-10-16
得票数 0
1
回答
多
模块
项目的
Spring
云客户端配置
、
the
spring
boot
application, bootstrap.properties, application.properties) 对于上面的结构,我能够从
spring
服务器中读取/刷新"web“
模块
的属性(因为这是我的SpringBootApplication ),但是无法理解如何在其他
模块
中
注入
配置/
注入
属性,就像通用
模块
或应用程序
模块
可能有属性一样。我尝试在其他
模块</em
浏览 1
提问于2019-07-09
得票数 1
回答已采纳
1
回答
在使用Gradle和
spring
boot
Gradle插件时,如何从不同的
模块
复制
Spring
Boot
重新打包的jar?
、
、
我有一个
多
模块
gradle项目,它使用
Spring
Boot
Gradle插件,其中一个
模块
构建
spring
boot
重新打包的jar,另一个
模块
尝试构建docker容器。如何从不同的
模块
复制
spring
boot
重新打包的jar?我试过这个: from project(':foo-ba
浏览 1
提问于2018-03-07
得票数 0
2
回答
带有Tapestry配置的
Spring
-
boot
、
、
、
有没有人有关于
Spring
-
boot
和Tapestry5的参考项目?我好像找不到任何样品。
浏览 0
提问于2015-08-09
得票数 2
1
回答
Spring
引导:子
模块
依赖项
、
我有
多
模块
的弹簧引导应用程序。我组织它的方式是,它包含有web类的@SpringBootApplication
模块
和由web
模块
导入的其他几个
模块
(例如,batch-jobs
模块
)。web
模块
包含
spring
中的所有依赖项:compile('or
浏览 6
提问于2016-11-29
得票数 0
回答已采纳
1
回答
使用
spring
boot
maven插件使用一个命令构建项目
、
我是
Spring
Boot
新手。我有一个包含多个
模块
的maven项目,还有一些包含web服务的
模块
,我希望将它们迁移到
Spring
Boot
Web (这样它们就可以从jar文件运行,而无需部署到服务器)。我想用一个命令构建它- smth,就像这样为此,我在每个服务
模块
的pom中包含了
spring
-
boot</e
浏览 0
提问于2017-02-08
得票数 0
回答已采纳
1
回答
使用
Spring
Boot
Gradle插件的
多
模块
项目
、
、
、
、
多
模块
项目包含具有以下依赖关系的
模块
: web->core->persistencebuildscript { jcenter() classpath("org.springframework.
boot
:
spring
-
boot<
浏览 2
提问于2016-02-28
得票数 1
3
回答
使用
spring
boot
的
多
模块
项目
、
、
我正在使用
spring
-
boot
创建一个项目。parent Pom|-----------Core module|-----------India Modul
浏览 3
提问于2015-05-13
得票数 5
回答已采纳
1
回答
在现有项目中包含
Spring
引导
模块
、
我只需要在我的mutli
模块
项目中包含一个
spring
boot
模块
。这就是我的项目布局:-module parent -module-service -module-web -module-dao (Using
Spring
BOOT
) .com.test.dao.Application.java>
spring
-
boot
-starter-data-jpa</artifactId>
浏览 0
提问于2017-02-17
得票数 0
2
回答
执行重新打包:无法重新打包目标:找不到主类
、
我在春季进行重新打包时遇到了一个
错误
:未能在项目宠物诊所数据上执行目标org.springframework.
boot
:
spring
-
boot
-maven-plugin:2.1.7.RELEASE:repackage( repackage ):目标org.springframework.
boot
:
spring
-
boot
-maven-plugin:2.1.7.RELEASE:repackage的执行重打包失败:无法找到主类即使我用过真的
浏览 1
提问于2019-08-27
得票数 0
1
回答
在
多
模块
maven项目中不继承依赖
spring
-启动启动程序-测试
、
、
、
、
在我的
多
模块
maven项目中,所有
模块
都有我自己的“公共”
模块
的依赖项,例如,
模块
"A“有这个依赖项”公共“。并且“公共”
模块
有一个
spring
-
boot
-starter-test依赖项。但是,当我在这个"A“
模块
中编写单元测试时,它表明测试依赖项没有导入。然后我检查依赖项,发现
spring
-
boot
-starter-test没有被导入。我想问为什么?在我的意义上,
模块<
浏览 1
提问于2017-05-30
得票数 3
回答已采纳
1
回答
Spring
Boot
支持maven
多
模块
、
、
我正在尝试将我现有的
多
模块
maven
Spring
项目转换为
Spring
Boot
项目。原因是让它自包含并遵循Martain Fowler的概念。然而,我遇到的问题是,当我试图清理构建时,似乎
spring
boot
试图从每个
模块
中找到Main方法,这当然会失败。
Spring
Boot
1.1.6.RELEASE当前是否支持此功能,或者我做错了什么? 谢谢
浏览 1
提问于2014-09-18
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Spring Boot 多模块项目实践
Spring Boot学习笔记系列之Spring Boot多环境配置
Spring Boot数据源属性注入与创建
Spring Boot 常见错误及解决方法
架构实战篇:Spring Boot 多缓存实战
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
对象存储
云直播
活动推荐
运营活动
广告
关闭
领券