javaweb
一只放羊的
这个作者很懒,什么都没留下…
展开
-
springboot+mybatis+mysql在idea中搭建
#创建项目 搭建项目大家按着我的结构创建目录pom.xml配置<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...原创 2019-12-04 15:32:37 · 393 阅读 · 0 评论 -
eclipse的maven配置
1.maven安装并配置环境变量(自行百度)2.在settings.xml中添加本地仓库地址2.1.创建一个文件夹用来当作本地仓库2.2.将本地仓库的地址写进配置文件,我们找到settings.xml打开并找到修改如下自己本地仓库的地址3.将阿里云的第三方仓库路径添加进setting.xmlnexus-aliyun*Nexus aliyunhttp://maven.aliyu...原创 2019-03-01 20:42:49 · 109 阅读 · 0 评论 -
ssh出现Error creating bean with name 'memberService' (dao、action都有可能)Does the parameter type of the se
ssh出现Error creating bean with name ‘memberService’ (dao、action都有可能)Does the parameter type of the setter match the return type of the getter?出现的原因是在dao、service、action里面没有设置get/set方法或者方法名称设置不规范...原创 2019-03-29 22:34:26 · 330 阅读 · 0 评论 -
jar包下载网址
https://www.kumapai.com/open/query/?querytype=title&querykey=ooxml原创 2019-04-08 14:42:27 · 272 阅读 · 0 评论 -
ssh进行数据库查询的操作总报空指针异常解决方法
刚上手ssh很多东西不太懂,今天自己试着写了个action,在struts.xml配置了action后访问action发现跟数据库打交道的dao方法总是空指针异常。解决后总结为两个问题:1.在action中的dao或者service成员变量没有设置get/set方法2.dao/service 成员变量名称和配置文件dao.xml/service.xml中的标签的id不一样。额外提醒:在se...原创 2019-04-08 21:35:53 · 1012 阅读 · 0 评论 -
jeson语法
{“key”:“value”}2.{“key1”:“value1” , “key2”:“value2”}3.jeson中包含jeson数组{“key”:“value” ,“array”:[{ “key”:“value” , “key”:“value” },{ “key”:“value” , “key”:“value”},{ “key”:“value” , “key”:...原创 2019-04-16 18:23:47 · 819 阅读 · 0 评论 -
json数据本身如何携带其他json数据
例如:{"sex":"man","IDcontent":" {"name":"xishilong" , "age":"22"} "}这样是不允许的因为括号“ ” 里面的字符串是不允许再有括号“”,如果要用的话就再括号前加\进行转译修改后的例子:{“sex”:“man”,“IDcontent” : " {“name”:“xishilong” , “age”:“22”} "}这样...原创 2019-04-18 13:53:02 · 314 阅读 · 0 评论