windows平台在tomcat中启动cas报错:
代码语言:javascript复制Caused by: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path, 系统找不到指定的路径。]
解决办法:将jansi.dll文件放到C:WindowsSystem32目录下即可。
注意:jansi.dll文件在使用gradle编译打包cas时会下载到C:Users${用户名}.gradlenativejansi1.14windows64
【参考】 http://stackoverflow.com/questions/35436362/no-jansi-in-library-path No jansi in library.path