logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

git基本命令0.1

git基本命git --help//查看常用命令$ git config --global user.name "Name"$ git config --global user.email "email@xxx.com"git --version//查看git的版本信息git init//创建新仓库git status//检查当前仓库状态克隆远程仓库到本地git

#git
java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/

问题描述:这个我是在debug模式下出现的,没执行到close,修改错去后,又从头执行,获取连接报错问题原因:XXX registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory lea

#mysql
PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed

HTTP Status 500 - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed...

jetty启动项目时,BUILD FAILURE,程序包com.sun.org.apache.xml.internal.security.utils不存在

maven buildfailure程序包不存在问题描述:使用jetty:run启动项目时,build failure,程序包不存在[INFO] BUILD FAILURE[INFO] Total time: 4.678 s[INFO] Finished at: 2017-09-1

#jetty#maven
linux_查看语言环境变量

locale[root@localhost /]# localeLANG=zh_CN.UTF-8LC_CTYPE="zh_CN.UTF-8"LC_NUMERIC="zh_CN.UTF-8"LC_TIME="zh_CN.UTF-8"LC_COLLATE="zh_CN.UTF-8"LC_MONETARY="zh_CN.UTF-8"LC_MESSAGES="zh_CN.UTF-8"LC...

#linux#服务器
maven_setting添加_阿里云镜像

maven_settings.xml<mirrors><mirror><id>alimaven</id><name>aliyun maven</name><url>http://maven.aliyun.com/nexus/content/groups/pub...

#maven#阿里云
JAVA学习笔记_使用Servlet3.0上传图片,无法使用part.getSubmittedFileName()方法解决

问题描述:在tomcat8使用servlet3.0上传文件,原来按以下步骤就可以完成1.Part part = request.getPart("XX");2.part.getSubmittedFileName()//直接获取文件名3.part.write(realPath)在tomcat7 的环境下就没有part.getSubmittedFileName()这一方法,无法直接获取文件名解决

查看session中存放的数据

HttpSession session = req.getSession();for ( Enumeration e = session.getAttributeNames(); e.hasMoreElements(); ){System.err.println(e.nextElement()+"-----"+req.getSession

SqlServer_查看SQLServer版本信息

执行sql语句:SELECT @@VERSION查询结果:Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64)Apr2 2010 15:48:46Copyright (c) Microsoft CorporationEnterprise Edition (64-bit...

#sqlserver#数据库
Mapped Statements collection does not contain value for XXX

Mapped Statements collection does not contain value for XXX可能错误原因:1、mapper.xml中没有加入namespace2、mapper.xml中的方法和接口mapper的方法不对应3、mapper.xml没有加入到mybatis-config.xml中(即总的配置文件),例外:配置了mapper文件的包路径的除外...

#mybatis
    共 13 条
  • 1
  • 2
  • 请选择