logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

springboot 中通过配置国际化文件( messages.properties )给枚举类( enum )赋值

1. 在 application .properties 中配置国际化文件的路径2.枚举类 Level.java3.在 messages.properties中加入测试信息4. 编写测试类5. 运行并输出结果1. 在 application .properties 中配置国际化文件的路径spring.messages.basename=i18n/messages2.枚举类...

#spring boot#java#spring +1
结合 springboot 在 mybatis 中使用枚举常量

1. application.properties 配置文件#oracle 配置spring.datasource.url=jdbc:oracle:thin:@192.168.1.100:1521/ORCLspring.datasource.username=TESTspring.datasource.password=111111spring.datasource.driver-cl...

#mybatis#spring boot#java +1
oracle 19c 执行startup命令时报错 ORA-01078: failure in processing system parameters,LRM-00109: could not op

报错信息:SQL> startupORA-01078: failure in processing system parametersLRM-00109: could not open parameter file '/opt/oracle/product/19c/dbhome_1/dbs/initorcl.ora'切换到oracle用户下su - oracle,查询lsnrctl服务是否开

#oracle#linux#数据库
springboot 整合邮件服务(网易 163 邮箱)

springboot 整合邮件服务1. 新建 maven 项目,引入依赖2. 新建接口文件3. 新建实现类4. 在配置文件中配置用户名、密码信息5. 测试类附1. 新建 maven 项目,引入依赖<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot

#spring boot
jquery.i18n.properties.js源码

jquery.i18n.properties.min.js(function(h){function v(a){a.debug&&(f("callbackIfComplete()"),f("totalFiles: "+a.totalFiles),f("filesLoaded: "+a.filesLoaded));a.async&&a.filesLoaded===a.

#javascript
连接 Linux 阿里云报错-[08S01] Communications link failure The last packet sent successfully to the serve

[08S01]Communications link failureThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.java.net.ConnectException: Operation t

#阿里云#linux#mysql
javascript获取服务器的路径

// 获取服务器路径//获取当前网址var wwwUrlPath = window.document.location.href;console.log("wwwUrlpath = " + wwwUrlPath);//获取主机地址之后的目录,var pathName = window.document.location.pathname;console.log("pathName = ...

#javascript
oracle 查看用户、数据库名、当前用户信息、sid、版本号等数据库系统相关信息

查看数据库名select name from v$database;查看sidselect instance_name from v$instance;查看数据库里面所有用户,前提是有dba权限的帐号,如sys,systemselect * from dba_users;查看能管理的所有用户select * from all_users;查看当前用户信息select ...

#数据库#oracle
到底了