maven 打war包命令mvn package用法
maven 打war包命令
- pom里面设置<packaging>war</packaging>
- cd 到项目根目录
- 输入下方核心命令
mvn clean package -Dmaven.test.skip=true (打包之前clean一下,忽略测试)
mvn package -Dmaven.test.skip=true (不clean直接打包,忽略测试)
maven 打war包命令
mvn clean package -Dmaven.test.skip=true (打包之前clean一下,忽略测试)
mvn package -Dmaven.test.skip=true (不clean直接打包,忽略测试)
service install 服务 后,tomcat服务启动的参数,通过 tomcat8w //ES//服务名 配置参数
cd D:apache-tomcat-8.5.39-apibin>tomcat8w //ES//tomcat-one 调出弹出框内容,添加参数,如图
解决方法,代理的属性上加上端口配置server_port
proxy_set_header Host $host:$server_port;
#proxy_set_header Host $host;
#nginx非80端口处理 加上 :$server_port
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 6 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k; 
代码如下,核心属性是matcher.setCaseSensitive(false);
import org.springframework.util.AntPathMatcher;
import org.springframework.web.servlet.config.annotation.PathMatchConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
import org.springframework.context.annotation.Configuration;
/**
* springBoot 设置spring mvc请求地址不区分大小写.
*/
@Configuration
public class WebConfig extends WebMvcConfigurationSupport {
@Override
public void configurePathMatch(PathMatchConfigurer configurer) {
AntPathMatcher matcher = new AntPathMatcher();
matcher.setCaseSensitive(false);
configurer.setPathMatcher(matcher);
}
} As a new Android application compiler, Huawei's Ark compiler can significantly improve the speed of mobile phones. According to Huawei's official data, the Ark compiler can improve system fluency by 24%, improve system response by 44%, and improve 60% of the three-party application operation fluency.

Huawei's consumer business CEO Yu Chengdong announced the launch of the Huawei Ark compiler, which claims to solve the inefficiency of the Android program "interpreting and executing".
Yu Chengdong said that the Ark compiler can achieve architectural-level optimization and significantly improve performance. His data shows that the Ark compiler can improve operating system fluency by 24%, system response by 44%, and third-party application fluency by 60%.

He said that the Ark compiler will be open source for the industry and hope that App developers will use it as soon as possible.