
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
最近有个springboot项目要发布到独立的tomcat下运行,其中遇到了很多坑,在此记录下:1.springboot项目打包配置:首先在启动类目录下新增打包类备注:启动类继承自SpringBootServletInitializer方可正常部署至常规tomcat下,其主要能够起到web.xml的作用(web.xml主要配置各种servlet,filter,listener等,如常见的Log4j
使用tess4j时报错信息如下:Exception in thread “main” java.lang.UnsatisfiedLinkError: Unable to load library ‘tesseract’: Native library (darwin/libtesseract.dylib) not found in resource path ([file:/Library/Jav
报错内容:Error opening data file ./chi_sim.traineddataPlease make sure the TESSDATA_PREFIX environment variable is set to your “tessdata” directory.Failed loading language ‘chi_sim’Tesseract couldn’t load
步骤1:打开终端,输入以下命令sudo apt-get install fcitx fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-sunpinyin -y// 或者sudo apt-get install fcitx fcitx-googlepinyin -y如果上述命令安装无法通过,可以先执行以下命令,安装必要的依赖库。依赖库安装完成后,再执
试过改/etc/profile,然后source /etc/profile,但是终端一关闭,环境变量就失效了,其他终端也用不了。网上有说在当前用户目录下创建.bash_profile文件,编写环境变量,然后执行命令source ~/.bash_profile之后就能使这个用户永久生效。但是还是和之前/etc/profile一样,失效了。解决办法:在~/.bashrc文件里改环境配置,sourct
报错内容:Error opening data file ./chi_sim.traineddataPlease make sure the TESSDATA_PREFIX environment variable is set to your “tessdata” directory.Failed loading language ‘chi_sim’Tesseract couldn’t load
报错内容:21:09:29.692 [main] ERROR net.sourceforge.tess4j.Tesseract - Input not setjava.lang.IllegalStateException: Input not setat com.sun.imageio.plugins.jpeg.JPEGImageReader.getNumImagesOnThread(JPEGIm
使用tess4j时报错信息如下:Exception in thread “main” java.lang.UnsatisfiedLinkError: Unable to load library ‘tesseract’: Native library (darwin/libtesseract.dylib) not found in resource path ([file:/Library/Jav
SSL认证失败:报错信息如下:sun.security.validator.ValidatorException:PKIX path building failed:sun.security.provider.certpath.SunCertPathBuilderException:unable to find valid certification path to requested targe

本地机器ssh连接服务器时,提示Permission denied (publickey,password)root@192.168.78.131’s password:Permission denied, please try again.root@192.168.78.131’s password:Permission denied, please try again.root@192.168







