腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
我
可以
在
Spring
Boot
环境
中
通过
胸腺
使用
ckEditor
吗
?
html
、
ckeditor
、
thymeleaf
type="submit" value="add"/> <input type="reset" value="reset"/></p></div></html>
我
这么做了所以我试了另一种方法 <script th:inline="javascript" src="https:
浏览 27
提问于2021-04-27
得票数 1
回答已采纳
1
回答
手动添加
spring
-
boot
-starter-thymeleaf
java
、
spring-boot
、
thymeleaf
如何手动将
spring
-
boot
-starter-thymeleaf添加到Java项目中?
我
正在尝试
在
Maven中
使用
依赖项: <groupId>org.springframework.
boot
</groupId> <artifactId>
spring
-
boot
-starter-thymeleaf</artifactId&
浏览 2
提问于2018-03-07
得票数 0
1
回答
在
测试
Spring
Boot
应用程序时替代HTMLUnit作为无头浏览器
spring-boot
、
spring-mvc
、
thymeleaf
、
htmlunit
因此,
在
我们的项目中,我们
使用
了
spring
boot
以及
胸腺
叶和vanilla javascript来渲染网页。现在,在编写UI测试时,我们目前
使用
HTML Unit作为无头浏览器,因为它与
spring
boot
集成得相当好。然而,每当我们
使用
像array.flatMap等一些高级调用时,html单元就会失败,因为它的引擎不支持这些调用。因此,我们正在寻找一种替代方案来探索如何将插件嵌入到我们的
环境
中</e
浏览 52
提问于2020-01-07
得票数 1
回答已采纳
1
回答
如何在
Spring
应用程序的get方法上返回html?
spring-mvc
、
spring-boot
我
可能有一个很轻松的问题,
我
已经
使用
了
Spring
+ jsp,但是现在
我
不明白为什么控制器不返回html文件。现在,
我
在
Web模块中
使用
Spring
。method = RequestMethod.GET) return "templates/hello.html";
我
的:
spring
浏览 2
提问于2018-02-17
得票数 0
3
回答
Spring
引导应用程序
在
IDE
中
运行时工作,但当作为war文件部署时,请求失败,并出现500错误。
java
、
maven
、
spring-boot
、
tomcat
好吧,
我
觉得这里有点傻,因为
我
搞不懂,就这样吧。
我
从
spring
下载了最基本的Hello引导web应用程序。
我
可以
让它运行良好
使用
内部猫。但是当我打包到一个.war文件并部署到本地tomcat实例时,这个实例模拟了生产
环境
。应用程序失败了。
我
已经尝试过系统地修改配置,
通过
文档来确保上下文是正确的,基本上,
我
可以
找到任何其他解决这个问题的方法。到目前为止还没有骰子,所以我想看看这里
浏览 1
提问于2019-07-09
得票数 2
3
回答
Spring
和Thymeleaf:模板模式"HTML“尚未配置
java
、
spring
、
thymeleaf
我
正在尝试弄清楚春季宠物诊所的项目:
我
的问题是:这里到底发生了什么,
我
需要什么步骤才能在空泉项目中运行<
浏览 1
提问于2016-11-22
得票数 7
回答已采纳
1
回答
在
邮件通知
中
显示
环境
Spring
Boot
管理
java
、
spring
、
spring-boot
、
thymeleaf
、
spring-boot-admin
我
有一组
使用
spring
-
boot
-admin监视和检测的应用程序。如果其中一个发生故障,我会收到邮件和slack的通知。
我
想在消息/电子邮件
中
显示
我
得到了问题发生的
环境
。这是
我
来自
Spring
Admin的application.yml server:tomcat: remote-ip-header: x-forwarded-for{<em
浏览 8
提问于2019-06-17
得票数 0
1
回答
如何在
spring
boot
中
更改
胸腺
叶静态内容默认路径
spring-boot
、
thymeleaf
我
想要将CSS和JS的默认路径从资源更改为
胸腺
叶的其他路径。
我
使用
JSP作为视图,而不是
胸腺
叶,但对于电子邮件模板,
我
决定
使用
胸腺
叶,
在
我
看到的每一个搜索
中
,
spring
boot
默认地查看资源/static文件夹是否有任何方法
可以
强制
spring
boot
查看资源之外的另一个文件夹
浏览 17
提问于2019-02-27
得票数 0
2
回答
如何在
胸腺
叶中
使用
th:block和th:include?
spring-boot
、
thymeleaf
我
的html其他页面在编辑文件夹
中
。<!--/*/ <th:block th:include="fragments/header :: header"></th:block> /*/--> 如果html文档
在
同一目录
中
,则上面的脚本有效。但我创建了一个新目录(名为: edit)来存储
我
的html页面。
我</em
浏览 0
提问于2017-01-11
得票数 5
回答已采纳
1
回答
带有JSP - return ModelAndView的
胸腺
叶
java
、
thymeleaf
在
我们的项目中,我们
使用
JSP,但是我们迁移到了Thymeleaf。对于
通过
Thymeleaf呈现的新控制器,我们
使用
以下语法: @RequestMapping(value="/thymeleaf", method= RequestMethod.GET, produces
中
,我们有以下代码: private TemplateEngine createThymeleafTemplateEngine() { ServletContextTemplateResolverTe
浏览 11
提问于2020-06-11
得票数 0
1
回答
如何在
Spring
Boot
中
创建Apache POI Excel视图配置
java
、
eclipse
、
spring
、
spring-mvc
、
spring-boot
我
有问题时,
我
想导出
我
的数据到excel
使用
spring
boot
web。
我
使用
Thymeleaf作为模板引擎(
通过
spring
boot
自动配置)。但是当我
在
我
的附加配置
中
添加XmlViewResolver时,
我
的
胸腺
叶视图由XmlViewResolver解析,这绝对不能解析。
我
尝试<e
浏览 3
提问于2016-01-14
得票数 4
回答已采纳
2
回答
布局:装饰
在
胸腺
叶
中
不起作用
spring
、
spring-boot
、
thymeleaf
我
正尝试
在
我
的应用程序中
使用
胸腺
叶引入一个布局(作为),但无法使其工作。
我
已经检查过帖子了。
spring
-
boot
-starter-parent</artifactId> </parent
在
检查一些文章时添加了xmlns:th="http:/
浏览 12
提问于2018-01-20
得票数 3
1
回答
在
Spring
项目中无法
使用
胸腺
网访问web上下文对象
spring
、
spring-boot
、
thymeleaf
通过
查看,
我
在
Spring
项目中尝试用这种方式访问带有
胸腺
网上下文对象:这将导致以下例外情况:Attempted to call method getRequestURL() on nu
浏览 3
提问于2017-03-15
得票数 0
回答已采纳
1
回答
Spring
Boot
和Thymeleaf:找不到HTML模板
spring
、
spring-mvc
、
spring-boot
、
thymeleaf
我
正在尝试用Thymeleaf创建一个基于
Spring
的应用程序。
我
使用
示例作为起点。
我
的应用程序找不到一些模板。> <artifactId>
spring
-
boot
-starter-web</artifactId<groupId>org.springfra
浏览 1
提问于2017-02-03
得票数 0
回答已采纳
1
回答
Maven依赖关系不被随机识别
java
、
maven
、
spring-boot
、
intellij-idea
、
dependencies
我
正在开发一个
使用
HTML和Thymeleaf作为前端的应用程序。
我
遇到的问题是,当我试图运行
我
的项目时,
我
的ThymeleafConfig类会随机出现错误。
我
将在下面更详细地解释,但首先是
我
的代码。(根据我的IDE),
在
我
的任何行上都没有错误,
可以
运行。导致类
中
的错误。 要修复它,
我
右键单击
我
的pom.xml文件-> Maven ->重新导入。这将重
浏览 4
提问于2016-10-13
得票数 3
1
回答
春引导资源未找到404错误html
spring
、
spring-boot
、
web
我
建立了一个叫做雇主的crud应用程序。操作正常,但是当在html控制台中显示它们时,会显示没有找到错误。org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.
boot
.autoconfigure.web.servlet.error.BasicErrorController.error37.754 DEBUG 18656 --- [nio-8080-exec-3] o.
浏览 0
提问于2019-07-29
得票数 3
1
回答
如何在
使用
JWT身份验证的springboot中
使用
html模板?
java
、
spring-boot
、
spring-security
、
jwt
、
thymeleaf
几天来,
我
已经开始学习
使用
springboot,特别是
spring
安全来进行用户身份验证,为此,
我
决定
使用
一个系统,在这个系统
中
,用户
可以
进行身份验证,并且
可以
根据他们特定的角色访问服务。
我
使用
这篇文章作为指南:https://grokonez.com/
spring
-framework/
spring
-
boot
/<e
浏览 20
提问于2019-10-02
得票数 0
1
回答
React应用程序到
Spring
boot
胸腺
叶应用程序的唯一身份验证
reactjs
、
spring-boot
、
spring-security
、
thymeleaf
我们有两个web应用程序1.是用react.js编写的,它的后端应用程序接口是用
spring
boot
+
spring
security编写的。2.
使用
spring
boot
+
spring
security +
胸腺
叶模板编写的另一个web应用程序。 我们称之为react应用程序和
胸腺
叶应用程序的应用程序。
我
希望将已认证的用户从react应用重定向到
胸腺
叶应用,但
通过
使
浏览 18
提问于2017-01-18
得票数 2
1
回答
Spring
Boot
:
在
没有控制器的情况下
使用
胸腺
叶处理html文件
spring
、
spring-mvc
、
spring-boot
、
thymeleaf
我
想为
我
的
Spring
Boot
应用程序提供国际化的html页面,
我
正在
使用
带有i18n的messages_XX.properties的Thymeleaf。
我
更喜欢将它们作为访问,并将它们放在例如/src/main/resources/html
中
,但我无法将
Spring
Boot
配置为默认
使用
胸腺
叶来处理页面。:处理和服务src/t
浏览 3
提问于2018-03-25
得票数 2
2
回答
使用
Spring
Boot
与
胸腺
叶模板一起提供静态内容
spring
、
thymeleaf
、
spring-boot
我
在
配置
Spring
Boot
来
使用
胸腺
叶并仍然提供静态内容时遇到了问题。
我
的资源目录中有两个目录:"/static“和"/templates”。根据
Spring
Boot
文档,默认情况下,
胸腺
叶应该会在模板目录中找到
胸腺
叶模板。但是,当我尝试
使用
模板时,
我
得到了404。RequestMapping(value = &quo
浏览 0
提问于2014-04-26
得票数 3
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
使用docker构建springboot微服务应用-java程序员涨工资必备技能
Spring Boot简化了Web应用程序的开发,你是怎么看待的?
SpringBoot Admin,贼不错的可视化管理和查看项目!
蚂蚁金服:开源增强版 SpringBoot 的研发框架!
SpringBoot:停掉应用服务几种方法
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券