logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

用idea打SpringBoot项目war包

最近有个springboot项目要发布到独立的tomcat下运行,其中遇到了很多坑,在此记录下:1.springboot项目打包配置:首先在启动类目录下新增打包类备注:启动类继承自SpringBootServletInitializer方可正常部署至常规tomcat下,其主要能够起到web.xml的作用(web.xml主要配置各种servlet,filter,listener等,如常见的Log4j

#maven#java#tomcat
【已解决】Exception in thread “main“ java.lang.UnsatisfiedLinkError: Unable to load library ‘tesseract‘:

使用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.traineddata Please make sure the TESSDATA_PREFIX environment

报错内容: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

【已解决】macbook pro m1芯片ubuntu20.04ARM64虚拟机添加输入法

步骤1:打开终端,输入以下命令sudo apt-get install fcitx fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-sunpinyin -y// 或者sudo apt-get install fcitx fcitx-googlepinyin -y如果上述命令安装无法通过,可以先执行以下命令,安装必要的依赖库。依赖库安装完成后,再执

#linux
linux中环境变量总是失效,需要每次source问题

试过改/etc/profile,然后source /etc/profile,但是终端一关闭,环境变量就失效了,其他终端也用不了。网上有说在当前用户目录下创建.bash_profile文件,编写环境变量,然后执行命令source ~/.bash_profile之后就能使这个用户永久生效。但是还是和之前/etc/profile一样,失效了。解决办法:在~/.bashrc文件里改环境配置,sourct

#linux
【已解决】Error opening data file ./chi_sim.traineddata Please make sure the TESSDATA_PREFIX environment

报错内容: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

【已解决】ERROR net.sourceforge.tess4j.Tesseract - Input not set

报错内容: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

【已解决】Exception in thread “main“ java.lang.UnsatisfiedLinkError: Unable to load library ‘tesseract‘:

使用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

【已解决】Https请求报错:unable to find valid certification path to requested target

SSL认证失败:报错信息如下:sun.security.validator.ValidatorException:PKIX path building failed:sun.security.provider.certpath.SunCertPathBuilderException:unable to find valid certification path to requested targe

文章图片
#intellij idea#java#maven
【已解决】ssh登录远程服务器时提示Permission denied (publickey,password)

本地机器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

#linux#ssh
    共 12 条
  • 1
  • 2
  • 请选择