Mybatis Plus 插件 Agent激活方式
Rover12421大牛搞了个Agent激活的方式,在这里https://coding.net/u/rover12421/p/MyBatisPluginCrack
使用时在idea[64].exe.vmoptions里添加-javaagent:插件jar包位置及名字.jar,即可使用
另外分析了下破解版插件造成idea闪退的问题,在com.seventh7.mybatis.service.JavaService中
Rover12421大牛搞了个Agent激活的方式,在这里https://coding.net/u/rover12421/p/MyBatisPluginCrack
使用时在idea[64].exe.vmoptions里添加-javaagent:插件jar包位置及名字.jar,即可使用
另外分析了下破解版插件造成idea闪退的问题,在com.seventh7.mybatis.service.JavaService中
使用说明详见:http://blog.lanyus.com/archives/174.html
更新说明:
1、添加-p参数,用于指定监听的端口
2、添加-u参数,用于指定用户名
3、添加-prolongationPeriod参数,具体干嘛的我也不知道
下载地址:
http://download.csdn.net/detail/lanyu19950216/9467411
https://drive.google.com/file/d/0Bx7wGDIg2K-7MlA3RndvanJKaTQ/view?usp=sharing
http://pan.baidu.com/s/1i3YAuqT 密码: e7c7
在centos中启动tomcat时遇到个问题,部署项目死活部署不上,卡在部署第一个项目那,遇到过两次这问题,第一次是重装系统解决,第二次找到了原因:
大概原因是收集随机数时收集不到导致的阻塞,详细原因可以百度"JVM上的随机数与熵池策略"
解决方法如下:
找到 $JAVA_HOME/jre/lib/security/java.security 这个文件,找到里面的
securerandom.source=file:/dev/random
或者
securerandom.source=file:/dev/urandom
修改为
securerandom.source=file:/dev/./urandom
pom.xml中引入依赖
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.7</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>