标签:www. 部分 class linu inf tom exce cat 技术分享
使用工具:SecureFX 7.0,SecureCRT 7.0
1.将web项目打包
2.将jar包上传到tomcat服务器的webapps目录下
3.上传好了之后启动tomcat服务器
大部分的Linux系统默认都安装了OpenJDK,如果不把自己装的jdk优先级调高,那么系统会默认启动OpenJDK,此时就会报异常
javax.crypto.BadPaddingException: Invalid pad value!
at sun.security.pkcs11.P11Cipher$PKCS5Padding.unpad(P11Cipher.java:106)[sunpkcs11.jar:1.7.0_45]
at sun.security.pkcs11.P11Cipher.implDoFinal(P11Cipher.java:802)[sunpkcs11.jar:1.7.0_45]
at sun.security.pkcs11.P11Cipher.engineDoFinal(P11Cipher.java:542)[sunpkcs11.jar:1.7.0_45]
at sun.security.pkcs11.P11Cipher.engineDoFinal(P11Cipher.java:525)[sunpkcs11.jar:1.7.0_45]
at javax.crypto.Cipher.doFinal(Cipher.java:1922)[:1.7.0_45]
at com.idcq.appserver.utils.AESUtil.aesDecryptByBytes(AESUtil.java:193)[AESUtil.class:]
at com.idcq.appserver.utils.AESUtil.aesDecrypt(AESUtil.java:211)[AESUtil.class:]
解决方法:http://www.cnblogs.com/xiaohai2010/p/8777156.html
4.启动之后在浏览器上输入ip:8080/项目名
如果出现无法访问,请检查端口8080是否被防火墙拦截 ping ip 端口号
如果连接失败,证明该端口号被拦截
解决方法:http://www.cnblogs.com/xiaohai2010/p/8777902.html
标签:www. 部分 class linu inf tom exce cat 技术分享
原文地址:https://www.cnblogs.com/xiaohai2010/p/8779664.html