摘要:
win8.1权限改不了,网上的方法都试了没用~ 用这个 @echo offcopy "%~dp0hosts" "%SystemRoot%\System32\drivers\etc\hosts"ipconfig /flushdnspause 保存为bat文件,和源hosts文件放在同目录下。运行解决~ 阅读全文
摘要:
两种方案~~ 双击bat文件运行: java -jar C:\Users\123.jar pause 将文件名改为run.bat 双击jar文件运行: java -jar %1 pause 将文件名改为run.bat 找一个.jar文件, 右键-打开方式-选择默认程序-浏览(找到这个run.bat文 阅读全文
摘要:
pom.xml加入插件 <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptorRefs> <descriptorRef>jar-with-depende 阅读全文