![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
奔跑的梅花Lu
有问题直接在博客评论,私信可能看不到。
展开
-
Java实现AES加解密
import org.apache.commons.codec.binary.Hex;import org.apache.commons.lang3.StringUtils; import javax.crypto.Cipher;import javax.crypto.KeyGenerator;import javax.crypto.SecretKey;import javax.crypto.spec.SecretKeySpec;import java.security.Key;import转载 2022-05-09 18:29:44 · 5383 阅读 · 1 评论 -
Field **Service in **Controller required a bean of type **that could not be found.
Spring Boot项目进行web开发 出错错误描述Field ServerService in com.boot.mms.business.server.controller.ServerController required a bean of type 'com.boot.mms.business.server.service.IServerService' that could not be found.错误原因Service层缺少了@Service注解。...原创 2022-01-19 17:33:35 · 5993 阅读 · 0 评论 -
org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing
错误描述org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [static/design.html]")分析初学springboot + thymeleaf时候,碰到了这个错误。对于我这个初学者一脸懵逼,百度了很多的办法,包括调各种设置,什么改pom.xml、改application.yml等等配置文件,还有原创 2022-01-04 18:06:56 · 1645 阅读 · 0 评论 -
Java学习笔记
1. final 关键字final就是最终的意思,用它修饰的类,表示这个类不能被继承。修饰方法时,是把方法锁定,以防任何继承类修改它的含义。修饰变量时,如果是基本数据类型的变量,则其数值一旦在初始化之后便不能更改;如果是引用类型的变量,则在对其初始化之后便不能再让其指向另一个对象。...原创 2021-12-30 10:59:06 · 429 阅读 · 0 评论 -
使用springboot开发web服务器
本文主要讲解spring官网提供的案例官网案例原址:https://spring.io/guides/gs/rest-service/#initial运行环境及软件我的运行环境是:win10.需要的软件:vscode,jdk17,maven3.8.4,vs的springboot系列插件。开始下载和安装上述的软件,并配置好环境变量。点击Download下载并且解压源代码。在vscode打开源代码文件。在文件夹gs-rest-service-main\initial\src\mai原创 2021-12-01 18:03:07 · 560 阅读 · 0 评论