将来的你一定会感激现在拼命的自己
一步一步向上爬的蜗牛🐌
摘要: 一、检查SpringbootApplication的位置是否直接在groupId的包下面 比如你的groupId是com.baidu。那么SpringbootApplication放在\src\main\java\com\baidu\目录下 二、如果第一步并且使用的是thymeleaf模板引擎,那么 阅读全文
posted @ 2018-04-11 14:20 将来的你一定会感激现在拼命的自己 阅读(4998) 评论(0) 推荐(0) 编辑
摘要: 有很多人刚接触springboot做测试时候,在访问的时候肯定加上了项目名称,结果肯定是404,今天我就给大家来解释一下,SpringMVC的运行方式是将打成的war包放到tomcat中运行,这种情况下访问需要在url中加入项目名。SpringBoot同样可以打成war包部署,但也提供了另一种方式: 阅读全文
posted @ 2018-04-11 11:32 将来的你一定会感激现在拼命的自己 阅读(218) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/Jack__Frost/article/details/68932117 阅读全文
posted @ 2018-03-22 10:09 将来的你一定会感激现在拼命的自己 阅读(764) 评论(0) 推荐(0) 编辑
摘要: Java动态代理位于java.lang.reflect包下,一般主要涉及到以下两个类: (1)Interface InvocationHandler 该接口中仅定义了一个方法:public Object invoke(Object obj, Method method, Object[] args) 阅读全文
posted @ 2018-03-21 16:54 将来的你一定会感激现在拼命的自己 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1.JSONObject json= new JSONObject(); maven 添加Json包<dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.28</versi 阅读全文
posted @ 2018-03-20 14:53 将来的你一定会感激现在拼命的自己 阅读(356) 评论(0) 推荐(0) 编辑
摘要: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'user_type' not found. Available 阅读全文
posted @ 2018-03-16 11:33 将来的你一定会感激现在拼命的自己 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 若一切配置正常,请检查jdbc.properties里面是否含有空格,这个会影响到 com.mysql.jdbc.Driver的加载 阅读全文
posted @ 2018-03-16 09:52 将来的你一定会感激现在拼命的自己 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-15 15:24 将来的你一定会感激现在拼命的自己 阅读(89) 评论(0) 推荐(0) 编辑