logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

nginx的location、root、alias指令用法和区别

nginx指定文件路径有两种方式root和alias,指令的使用方法和作用域:[root]语法:root path默认值:root html配置段:http、server、location、if[alias]语法:alias path配置段:locationroot与alias主要区别在于nginx如何解释location后面的uri,这会使两者分别以不同的方式将请求映射到服务器...

nginx 创建时配置指定

./configure --prefix=/usr/local/nginx --pid-path=/var/run/nginx/nginx.pid --lock-path=/var/lock/nginx.lock --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-ht

nginx 配置禅道

参照点击打开链接windows下  nginx conf配置#user  nobody;  worker_processes  1;    #error_log  logs/error.log;  #error_log  logs/error.log  notice;  #error_log  logs/error.log  info;    #pid   

maven编译,本地jar存在确报找不到

maven 多模块打包依赖找不到问题

#maven#jar#java
maven 项目compile时,当工程包含外部jar时,报错“找不到符号”

问题:当项目是maven项目时,因为jar通过pom管理,所以正常配置即可编译成功,但是有些时候项目需要引用内部部分jar,一般存放在WEB-INF/lib下,此时编译(执行compile或者其他命令)会报错,如下:程序包com.xxx.dao不存在xxx.java:[16,34] 找不到符号解决方案:配置pom.xml,使其编译时引用外部jar,配置如下:<plugin&g

IDEA中单元测试@Test无法使用的解决方案

在使用IDEA环境中,当我们使用junit4中注解@Test时发现无效可以使用以下方法:1、如果你只是测试案列,只需将你的测试类所在的文件,通过右键选中Mark Directory as,接着设置为Test Resources Root即可。2、如果你是通过maven管理的项目,只需将pom.xml文件中导入junit下的<scope>属性一行删除保存S即可,返回到测试方法...

#idea#junit
mybatis-plus后出现ClassNotFoundException: org.mybatis.logging.LoggerFactory

因引入mybatis-plus,和之前的pagehelper冲突,解决如下:<!-- spring boot 整合pagehelper依赖 版本有兼容性问题 第一种方式依赖的包--><dependency><groupId>com.github.pagehelper</groupId>...

到底了