JAVA ERROR
java.io.StreamCorruptedException: invalid type code:결과적으로 아래의 코드에서 발생하는 에러 중 invalid type code: 는 스트림을 새로 생성하는 방법으로 해결할 수 있었고
JAVA 数据库技术 MySQL CODE
cmd 管理者身份net start mysql57net stop mysql57cmd--loginmysql -uroot -p****mysql -h127.0.0.1 -uroot -p****mysql -uroot -p****--logoutquitexit-- my.ini文件存在目录查找select @@datadir;快捷键tab 自动写全sql数据库CREATE DATABASE db1; --创建数据库CREATE DA
JAVA 前端技术 CODE
HTML<body text 文字颜色 bgcolor 页面的背景色 background 页面的背景图片> <p 短路 align left center right (默认:right)> <div 分区标签 透明衣柜 自动换行 style > <span 分区标签 透明衣柜 无自动换行><font 字体标签 face 字体 size 字的大小 color 字的颜色>
Mybatismaven工程 依赖(MySQL驱动、mybatis、junit)
Mybatismaven工程 依赖(MySQL驱动、mybatis、junit)<!--指定编码和版本--><properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.encoding>UTF-8</maven.compiler.encoding> <java.version>1.1
Mybatis 映射配置文件
Mybatis 映射配置文件<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE mapperPUBLIC "-//mybatis.org//DTD Mapper 3.0//EN""http://mybatis.org/dtd/mybatis-3-mapper.dtd"><mapper namespace="UserMapper"> <!--查询所有--> <select id="findAll"
Mybatis 测试代码
Mybatis 测试代码@Testpublic void testFindAll() throws Exception { // 加载核心配置文件 InputStream is = Resources.getResourceAsStream("SqlMapConfig.xml"); // 获取SqlSessionFactory工厂对象 SqlSessionFactory sqlSessionFactory = newSqlSessionFactoryBuilder().build(is); /
properties 文件
properties 文件jdbc.driver=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://127.0.0.1:3306/spring_db?characterEncoding=UTF-8&useSSL=falsejdbc.username=rootjdbc.password=root
Spring开发基本坐标
Spring开发基本坐标<dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.1.5.RELEASE</version> </dependency> <dependency> <g
Spring核心配置文件
Spring核心配置文件<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springf
Spring相关API获得Bean实例
Spring相关API获得Bean实例public class UserTest { @Test public void testSave() throws Exception { ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml"); UserDao userDao = (UserDao) applicationContext.getBean("
java对象或list集合 > json
<dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.3</version></dependency><dependency> <groupId>com.colobu</groupId> <artif
JSON > Java对象或集合
<dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.3</version></dependency><dependency> <groupId>com.colobu</groupId> <artif
misssimple 接口
misssimple 后台管理模块接口文档2.注册接口名称: signup描述: 管理者注册URL: http://localhost:8081/backsimple/signup请求方式: POST请求参数字段说明类型是否必须备注methodName要访问的功能名String是该字段必须填写,用来确定要访问是哪一个的方法man_name登陆名String是man_password登陆密码String是man_teleph
glxt 数据库...
分类表字段名称类型约束描述cat_idint(32)PRIMARYNOT NULL分类唯一IDcat_namevarchar(255)NULL分类名称cat_pidint(32)NULL分类父IDcat_levelint(4)NULL分类层级 0: 顶级 1:二级 2:三级cat_deletedint(2)NULL是否删除 1为删除cat_iconvarchar(255)NULLcat_srct
misssimple 数据库
分类表字段名称类型约束描述cat_idint(32)PRIMARYNOT NULL分类唯一IDcat_namevarchar(255)NULL分类名称cat_pidint(32)NULL分类父IDcat_levelint(4)NULL分类层级 0: 顶级 1:二级 2:三级cat_deletedint(2)NULL是否删除 1为删除cat_iconvarchar(255)NULLcat_srct
今日推荐
周排行