码迷,mamicode.com
首页 >  
搜索关键字:java属性配置文件 properties xml    ( 63955个结果
05_springboot多配置文件
1.多配置文件,其中application.properties中的spring.profiles.active能够灵活的切换使用环境 application.properties spring.mvc.view.prefix=/WEB-INF/jsp/ spring.mvc.view.suffix ...
分类:编程语言   时间:2020-11-26 15:24:02    阅读次数:14
登陆的时候出现javax.xml.bind.DatatypeConverter错误
错误详情: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter org.springframework.web.util.Neste ...
分类:编程语言   时间:2020-11-26 15:17:54    阅读次数:13
Maven配置阿里云镜像
在setttins.xml文件中找到<mirrors></mirrors>标签对,进行修改: 1 <mirrors> 2 <mirror> 3 <id>nexus-aliyun</id> 4 <mirrorOf>*</mirrorOf> 5 <name>Nexus aliyun</name> 6 < ...
分类:其他好文   时间:2020-11-26 15:05:05    阅读次数:6
04_springBoot端口和上下文路径
1.在application.properties中添加如下内容 server.port=8888 spring.mvc.servlet.path=/test 2.访问127.0.0.1:8888/test/hello ...
分类:编程语言   时间:2020-11-26 15:04:09    阅读次数:8
用户添加
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.login1"> <application ...
分类:其他好文   时间:2020-11-26 15:01:33    阅读次数:6
使用Druid连接数据库
配置文件 使用properties文件配置相关数据 --driverClassName= com.mysql.cj.jdbc.Driver 驱动加载 --username=root 连接数据库的用户名 --password= 连接数据库的密码 --url=jdbc:mysql://127.0.0.1 ...
分类:数据库   时间:2020-11-26 14:34:04    阅读次数:8
购物商城
activity界面代码: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schema ...
分类:其他好文   时间:2020-11-26 14:32:03    阅读次数:3
240. Search a 2D Matrix II
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted i ...
分类:其他好文   时间:2020-11-25 12:59:50    阅读次数:14
springboot 2.4.0 最新版本需在本地maven里添加mirror镜像地址
加上aliyun的镜像地址,我的maven setting.xml 里完整镜像地址如下: <mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content ...
分类:编程语言   时间:2020-11-25 12:28:47    阅读次数:4
抽取jdbc工具类JdbcUtil
1.在src下创建一个jdbc.properties文件 url=jdbc:mysql:///demo user=root password=123 driver=com.mysql.jdbc.Driver 2.编写工具类 public class JdbcUtil { private static ...
分类:数据库   时间:2020-11-25 12:22:17    阅读次数:11
63955条   上一页 1 ... 70 71 72 73 74 ... 6396 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!