腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
主键
冲突
Java
Spring
Boot
SQL
Server
、
、
、
、
在我的项目中,我有Events实体和MyLocation实体。 MyLocation id是event.eventStartTime (ISOString) + event.eventName,当我尝试更新事件名称(不再与MyLocation字符串名称相关)时遇到问题,这是错误: Violation of PRIMARY KEY constraint 'PK__my_locat__72E12F1A88A314B4'. Cannot insert duplicate key in object 'dbo.my_location'. The duplicate
浏览 31
提问于2020-07-01
得票数 0
1
回答
Javer依赖关系导致生成失败
、
、
一旦我这样做并尝试构建项目,我的项目中的所有JSONObject实例就会从JSONObject开始,并且我开始得到以下错误:<dependency> <artifactId>javers-
spring
-
boot
-starter-
sql
浏览 2
提问于2019-10-16
得票数 0
1
回答
在运行
spring
boot
应用程序时获得异常
、
、
、
、
: org.springframework.
boot
.actuate.autoconfigure.web.
server
.ManagementServerProperties.getBasePath()Ljava:
spring
-
boot
-actuator-autoconfigure:jar:2.3.1.RELEASE:compile | \- org.springframework.
boot
:
spring
-
boot
-actuator:
spring
浏览 69
提问于2021-10-26
得票数 0
1
回答
Spring
boot
参数更新模型数据库不工作
、
、
、
spring
.jpa.hibernate.naming.physical-strategy=org.hibernate.
boot
.model.naming.PhysicalNamingStrategyStandardImpl
spring
.servlet.multipart.max-file-size=2MB
server
.servlet.session.tim
浏览 0
提问于2021-05-19
得票数 0
1
回答
无法从
Spring
应用程序连接到Bigtable
、
、
、
netty-tcnative-boringssl-static</artifactId></dependency><dependency> <artifactId>
spr
浏览 1
提问于2017-01-23
得票数 1
回答已采纳
1
回答
没有显示样式的徽章
、
、
; nested exception is at org.springframework.
boot
.SpringApplication.run(SpringApplication.
java
:3
浏览 16
提问于2022-09-30
得票数 0
3
回答
带有MyBatis - @MapperScan错误的
Spring
引导
、
、
、
、
我正在尝试用MyBatis设置
Spring
。
java
.lang.Class org.mybatis.
spring
.annotation.MapperScan.factoryBean() at com.mydomain.
Serv
浏览 1
提问于2018-01-22
得票数 0
回答已采纳
4
回答
有没有可能用不同的端口两次实例化同一个
spring
-
boot
应用?
、
、
我需要使用嵌入式tomcat使用不同的端口两次实例化相同的
spring
boot
应用程序,以便这两个实例使用另一个rest api。目标是模拟两个独立的程序,与两个玩家具有相同的逻辑。SpringApplicationBuilder playerOne = new SpringApplicationBuilder(GameApplication.class) .properties("
server
.port:" + "8080", "app.name:&quo
浏览 40
提问于2019-07-02
得票数 1
1
回答
Flyway无法从码头容器连接到MySQL
、
、
、
、
Flyway集成在
Spring
Boot
项目中。
Spring
Boot
项目和数据库都是从docker-compose开始的。 不可能与数据库客户端连接到数据库容器。volumes: networks: environment=debug 错误日志
spring
-
boot
-jpa
浏览 48
提问于2019-05-10
得票数 2
2
回答
在作为客户端的
Spring
boot
应用程序中嵌入模式的SymmetricDS
、
、
我有一个使用SymmetricDS的
Spring
boot
应用程序。当我想启动一个服务器和一个带有h2数据库的客户端时,两者都处于嵌入式模式。org.jumpmind.symmetric.ext.PostgresBulkDataLoaderFactory]: compile group: 'org.jumpmind.symmetric
浏览 31
提问于2020-05-16
得票数 2
回答已采纳
1
回答
如何使用MySQL配置服务器以实现持久性?
、
、
、
Spring
/Cloud服务器(潜在的Zipkin服务器)需要哪些确切的依赖项和application.yml配置来使用MySQL持久化跟踪数据?
浏览 2
提问于2016-08-26
得票数 5
回答已采纳
1
回答
利用hibernate增强序列生成器策略在春季启动中如何使用data.
sql
添加
主键
、
、
、
、
我有一个项目,我试图从data.
sql
文件中添加值,问题是我不知道如何使用hibernate增强序列策略添加
主键
。(DataSourceScriptDatabaseInitializer.
java
:90) ~[
spring
-
boot
-2.6.7.jar:2.6.7] at org.springframework.
boot
.
sql
.init.AbstractScriptDatabaseInitializer.runScripts(AbstractScriptDat
浏览 11
提问于2022-09-12
得票数 0
9
回答
Spring
:从命令行重写一个application.property
、
、
我希望能够在使用mvn
spring
-
boot
:run运行时更改其中的一个。我找到了如何更改整个文件,但我只想更改其中的一个或两个属性。
浏览 6
提问于2016-05-05
得票数 103
回答已采纳
2
回答
不能将
spring
微服务多模块应用程序
、
、
、
、
我正在用
JAVA
11,maven,
spring
构建一个应用程序。/config-
server
image: config-
server
chown
浏览 6
提问于2020-07-26
得票数 0
回答已采纳
1
回答
嵌入式码头环境下的
Spring
与
Spring
安全集成
、
、
、
我正在尝试在带有
Spring
和嵌入式Jetty的"fat“可执行JAR中从main()方法初始化Security。我在
Java
中使用Security (没有web.xml)。
server
) { } return factory;我尝试过创建AbstractSecurityWebApplicationInitializer的子类,但它
浏览 1
提问于2014-05-23
得票数 1
回答已采纳
2
回答
Hibernate,
SQL
Server
2016 =
SQL
错误: 207 -无效的列名
、
、
我的问题是,我在
SQL
Server
2016中有2个模式,但具有相同的表。我更改了这两个列,并分别添加了3个相同的列。但是当hibernate想要向这个修改过的表中添加新数据时,它会给我一个异常 Caused by:
java
.
sql
.SQLException: Invalid column name 'claim_number
浏览 4
提问于2018-01-03
得票数 3
1
回答
Spring
R2DBC -使用schema.
sql
和ConnectionFactoryInitializer创建
Spring
表时出现“表已存在”错误
、
当我尝试使用schema.
sql
在内存数据库的H2中创建一个表时,收到错误“表客户已经存在”。我使用的是
spring
boot
版本: 2.5.4,下面是我的pom.xml。如果我使用
spring
boot
版本: 2.4.3,它工作得很好 <?xml version="1.0" encoding="UTF-8"?> <groupId>org.springframework.
boot
</group
浏览 144
提问于2021-08-30
得票数 2
回答已采纳
1
回答
无法得到JDK 11,
Spring
的组合。持久化和JavaFX工作
、
、
、
、
我使用的是JDK 11,我的项目最初是一个带有持久性的
Spring
项目,我首先将所有的数据类连接起来,并在测试中进行覆盖。现在我想将JavaFX用于图形用户界面,这意味着开始使用
Java
模块系统。$AppClassLoader@6c3708b3] Caused by:
java
.lang.ClassNotFoundException: javax.
浏览 0
提问于2019-07-28
得票数 3
2
回答
带有数据库后端的服务器
、
、
、
:bootRun'. jdbc:
sql
:
浏览 5
提问于2021-07-12
得票数 1
回答已采纳
2
回答
Web服务器启动失败。端口已在使用中错误。但应用程序仍在运行
、
、
、
这是我的"application.properties“
server
.ssl.key-store=classpath:certificate.jks
server
.ssl.key-store-password=password
server
.ssl.key-alias=certificate
sprin
浏览 108
提问于2021-05-10
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
JAVA Spring boot+Mybatis
用Spring Boot颠覆Java应用开发
通过Idea创建Spring Boot java项目
Java 微服务实践-Spring Boot 系列
借助Spring Boot和GraalVM实现原生Java
热门
标签
更多标签
云服务器
ICP备案
对象存储
腾讯会议
云直播
活动推荐
运营活动
广告
关闭
领券