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
错误详情: 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
在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
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
配置文件 使用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
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
加上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
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