2019年8月25日
摘要:
server: port: 8001 mybatis: config-location: classpath:mybatis/mybatis.cfg.xml # mybatis配置文件所在路径 type-aliases-package: cn.lijun.springcloud.entities #
阅读全文
posted @ 2019-08-25 22:24
李俊互联网技术传播者
阅读(195)
推荐(0)
摘要:
<mirrors> <mirror> <id>alimaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/<
阅读全文
posted @ 2019-08-25 21:48
李俊互联网技术传播者
阅读(504)
推荐(0)
2019年8月23日
摘要:
在springBoot和Myatis 整合中出现springBoot无法启动 并且报以下错误 Description: Field userMapper in cn.lijun.controller.UserController required a bean of type 'cn.lijun.m
阅读全文
posted @ 2019-08-23 10:21
李俊互联网技术传播者
阅读(566)
推荐(0)
2019年8月22日
摘要:
在pom.xml文件中添加如下: <build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</
阅读全文
posted @ 2019-08-22 22:31
李俊互联网技术传播者
阅读(282)
推荐(0)
2019年8月21日
摘要:
#DB Configuration:spring.datasource.driverClassName=com.mysql.jdbc.Driverspring.datasource.url=jdbc:mysql://127.0.0.1:3306/springboot?useUnicode=true&
阅读全文
posted @ 2019-08-21 23:44
李俊互联网技术传播者
阅读(136)
推荐(0)
摘要:
-- Table structure for `user`-- DROP TABLE IF EXISTS `user`;CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(50) DEFAULT
阅读全文
posted @ 2019-08-21 23:38
李俊互联网技术传播者
阅读(120)
推荐(0)
2019年8月20日
摘要:
package cn.lijun.jpa.entity; import javax.persistence.*;import java.io.Serializable; @Entity@Table(name="cst_linkman")public class LinkMan implements
阅读全文
posted @ 2019-08-20 11:37
李俊互联网技术传播者
阅读(231)
推荐(0)
2019年8月18日
摘要:
<dependencies> <!--mybatis核心jar包--> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.4.5</version> </dependency
阅读全文
posted @ 2019-08-18 20:11
李俊互联网技术传播者
阅读(534)
推荐(0)
2019年8月16日
摘要:
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
posted @ 2019-08-16 12:58
李俊互联网技术传播者
阅读(731)
推荐(0)
摘要:
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
posted @ 2019-08-16 09:27
李俊互联网技术传播者
阅读(208)
推荐(0)