11 2019 档案
摘要:在第一次完成spirngmvc代码的基础上: 开始时代码 index.jsp <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <body> <h2>Hello World!</h2> <%--href=
阅读全文
摘要:一开始我的代码是: //index.jsp<%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <body> <h2>Hello World!</h2> <%--href="some"时是到发布的项目目录下找
阅读全文
摘要:1.测试类 @Test public void test07() { IStudentDao studentDao = new IStudentDaoImpl(); Student student = studentDao.selectStudentById(10); System.out.prin
阅读全文
摘要:log4j:WARN No appenders could be found for logger (org.apache.ibatis.logging.LogFactory).log4j:WARN Please initialize the log4j system properly.log4j:
阅读全文
摘要:Cannot start compilation: the output path is not specified for module "前 后来发现是在pom.xml右击,有个+号,把该maven加入到项目中,点击下问题就解决了。java.com.crosudd.t 第二个错误: 接着运行后,
阅读全文
摘要:1.$ git config --global user.name "xxx" 2.$ git config --global user.email xxx@qq.com 3.进入想要上传的该文件夹的目录 $ git init(空文件夹不行) 4. $ git add . 5. $ git comm
阅读全文
摘要:mappers:映射器,以最佳的方式是告诉 MyBatis 到哪里去找映射文件。 <!-- 使用相对于类路径的资源引用,要满足一个条件:1.即映射文件只要放在类路径下,就可以根据相对路径找到,放在resourses(设置为了内部资源的文件夹)目录下即可。 <mappers> <mapper reso
阅读全文
摘要:<?xml version="1.0" encoding="UTF-8"?><web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc
阅读全文
摘要:题外: 设置目录为源代码目录 1.进入:file->project structure->modules->soures 进入这个里面,选择相应的文件夹。例如src/java里的java.选择之后再点击蓝色的soures,java目录就设置为了source Folders(源文件)。返回,会看到原本
阅读全文
摘要:mybatis主配置文件: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/myba
阅读全文
摘要:常用命令:Git Bash:Unix与Linux风格的命令行,使用最多,推荐最多 cd:改变目录。如图: 在linux命令中,cd就是改变目录的,通过第二行可知,无论当前目录在c盘那个文件夹,执行cd d:命令之后都可以跳到d盘目录下,而在windows的cmd中不行。另外在根目录下cd +某文件夹
阅读全文

浙公网安备 33010602011771号