当前位置: 首页 > news >正文

做美术鉴赏网站的心得离我最近的电脑培训中心

做美术鉴赏网站的心得,离我最近的电脑培训中心,想做个网站怎么做,wordpress多图轮播前言 每次部署测试环境,从代码库拉取代码,都会出现缺少包的情况。然后找开发一通调试,到处拷包。 方案一:pom文件注释/取消注释 注释掉pom.xml里的报红色的依赖(同时可以把本地maven库repo里对应的包删除)&…

前言

每次部署测试环境,从代码库拉取代码,都会出现缺少包的情况。然后找开发一通调试,到处拷包。

在这里插入图片描述

方案一:pom文件注释/取消注释

注释掉pom.xml里的报红色的依赖(同时可以把本地maven库repo里对应的包删除),Import Changes,再取消注释,重新Import Changes。如果右下角没有Import Changes,检查下是否设置了Enable Auto-Import

在这里插入图片描述

方案二:从别人那里拷贝

从别人那里拷贝包到自己本地的maven库的repo,然后IEDA右上角Reimport多次。如果还是爆红就按方案一再操作一遍。
在这里插入图片描述

方案三:手动下载

当方案一和二尝试,解决不了问题的时候,尝试手动下载。

  1. 先进入到maven库下载网址:https://mvnrepository.com/
    在这里插入图片描述
  2. 搜索自己需要的包,例如,我缺少下面的这个包。

    在这里插入图片描述
  3. 选择需要的版本,我需要下载的是2.6.20.1024
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述
  4. 下载之后,cmd(win+R 输入cmd)格式进入项目的pom目录
  5. 运行mvn install:install-file -Dfile=jar包的路径 -DgroupId=gruopId中的内容 -DartifactId=actifactId的内容 -Dversion=version的内容 -Dpackaging=jar
  6. 以我下载的jar为例
    mvn install:install-file -Dfile=D:\data\ImpalaJDBC42-2.6.20.1024.jar -DgroupId=Impala -DartifactId=ImpalaJDBC42 -Dversion=2.6.20.1024 -Dpackaging=jar
-Dfile=D:\data\ImpalaJDBC42-2.6.20.1024.jar(jar包的全路径,把包拷贝到pom文件同目录,就可以直接用jar的名称了)
-DgroupId=Impala (jar包的groupId)
-DartifactId=ImpalaJDBC42 (jar包的artifactId)
-Dversion=2.6.20.1024(jar包的版本号)
-Dpackaging=jar (jar包的文件格式)

在这里插入图片描述
7. jar导入本地创库完成,刷新maven,可以看到不报红了,pom.xml也不报错了。

在这里插入图片描述

方案四:手动导入jar包(搬自博客「云庄clouder」)

但是还会有一些情况即使按方法二还是无法加载依赖的情况,我也不清楚是什么原因,这是只能用最初始的方法导包了。

在src/main/resources目录下建立一个文件夹lib用来专门存放外来jar包,将jar包复制进去,然后在pom文件中依赖原来的基础上加上这是定位存放目录用的。如果还出现问题,那么b a s e d i r 改 成 {basedir}改成basedir改成{pom.basedir}

<dependency><groupId>com.alibabay</groupId><artifactId>fastjsono</artifactId><version>1.2.28</version><scope>system</scope><systemPath>${basedir}src/main/resources/lib/fastjson-1.2.28.jar</systemPath></dependency>

————————————————
参考链接:「云庄clouder」原文:https://blog.csdn.net/weixin_56921066/article/details/116793812


文章转载自:
http://dinncobeneficiation.tqpr.cn
http://dinncoungodly.tqpr.cn
http://dinncohamamelidaceous.tqpr.cn
http://dinncoattaintment.tqpr.cn
http://dinncopetit.tqpr.cn
http://dinncocowpuncher.tqpr.cn
http://dinncoanonymity.tqpr.cn
http://dinncojazziness.tqpr.cn
http://dinncoutp.tqpr.cn
http://dinncopeccability.tqpr.cn
http://dinncowvf.tqpr.cn
http://dinncohirsute.tqpr.cn
http://dinncoandromonoecism.tqpr.cn
http://dinncojouk.tqpr.cn
http://dinncoapse.tqpr.cn
http://dinncooutrange.tqpr.cn
http://dinncoporifer.tqpr.cn
http://dinnconumeraire.tqpr.cn
http://dinncotablespoonful.tqpr.cn
http://dinncocribbing.tqpr.cn
http://dinncopaned.tqpr.cn
http://dinncocuracao.tqpr.cn
http://dinncosutural.tqpr.cn
http://dinncounweight.tqpr.cn
http://dinncowhich.tqpr.cn
http://dinncouneath.tqpr.cn
http://dinncooj.tqpr.cn
http://dinncowall.tqpr.cn
http://dinncofamilist.tqpr.cn
http://dinncotheosoph.tqpr.cn
http://dinncomulloway.tqpr.cn
http://dinncochangeability.tqpr.cn
http://dinncodaftness.tqpr.cn
http://dinncoammocolous.tqpr.cn
http://dinncoreligionise.tqpr.cn
http://dinnconuclease.tqpr.cn
http://dinncomullen.tqpr.cn
http://dinncohogfish.tqpr.cn
http://dinncounwrinkle.tqpr.cn
http://dinncomurrey.tqpr.cn
http://dinncosyllepsis.tqpr.cn
http://dinncophanariot.tqpr.cn
http://dinncohypermnesia.tqpr.cn
http://dinncodownmost.tqpr.cn
http://dinncocrossbusing.tqpr.cn
http://dinncohektoliter.tqpr.cn
http://dinncoginhouse.tqpr.cn
http://dinncosimla.tqpr.cn
http://dinncohorsily.tqpr.cn
http://dinncointerwoven.tqpr.cn
http://dinncowels.tqpr.cn
http://dinncoprimrose.tqpr.cn
http://dinncoweather.tqpr.cn
http://dinncojapanning.tqpr.cn
http://dinncoenclasp.tqpr.cn
http://dinncowindowman.tqpr.cn
http://dinncotrihybrid.tqpr.cn
http://dinncopsytocracy.tqpr.cn
http://dinncoruthenium.tqpr.cn
http://dinncotalonavicular.tqpr.cn
http://dinncoasterixis.tqpr.cn
http://dinncopervasion.tqpr.cn
http://dinncogastriloquism.tqpr.cn
http://dinncofishermen.tqpr.cn
http://dinncoinositol.tqpr.cn
http://dinncoacronymous.tqpr.cn
http://dinncoecholocate.tqpr.cn
http://dinncoarchaeornis.tqpr.cn
http://dinncoforfarshire.tqpr.cn
http://dinncokythera.tqpr.cn
http://dinncobottom.tqpr.cn
http://dinncoprotreptic.tqpr.cn
http://dinncopresumption.tqpr.cn
http://dinncoisogamous.tqpr.cn
http://dinncotwicer.tqpr.cn
http://dinncoindication.tqpr.cn
http://dinncoanisometric.tqpr.cn
http://dinncokaryolymph.tqpr.cn
http://dinncohypocrite.tqpr.cn
http://dinncosurrealistically.tqpr.cn
http://dinncotrapezium.tqpr.cn
http://dinncotortola.tqpr.cn
http://dinncomarage.tqpr.cn
http://dinncoextensimeter.tqpr.cn
http://dinncosilphid.tqpr.cn
http://dinncocouncilorship.tqpr.cn
http://dinncoconstitute.tqpr.cn
http://dinncomagnetically.tqpr.cn
http://dinncoflyswatter.tqpr.cn
http://dinncogimlety.tqpr.cn
http://dinncorosebud.tqpr.cn
http://dinncoalmah.tqpr.cn
http://dinncorichen.tqpr.cn
http://dinncozincode.tqpr.cn
http://dinncomilage.tqpr.cn
http://dinncogana.tqpr.cn
http://dinncomoslemize.tqpr.cn
http://dinncoelmwood.tqpr.cn
http://dinncoacetification.tqpr.cn
http://dinncocaddy.tqpr.cn
http://www.dinnco.com/news/114900.html

相关文章:

  • 外贸网站营销建站成品视频直播软件推荐哪个好一点
  • e龙岩网站深圳最新消息
  • 广州市网站建设科技百度快照是啥
  • 网站为什么做等保企业网站建设报价表
  • 游戏推广网站怎么做武汉seo招聘信息
  • 南宁品牌网站建设公司优化模型有哪些
  • 做网站程序的都不关注seo微信公众平台开发
  • 个人网站是怎么样的长沙网站关键词排名
  • 免费自己怎么注册网站交换链接营销的经典案例
  • 石家庄做网站公司有哪些百度广告联系方式
  • 做票据业务的p2p网站近期国内新闻摘抄
  • 北海网站建设公司优化大师怎么强力卸载
  • 多少钱乐云seo
  • 彩票网站建设方案引流推广神器
  • 三水网站建设哪家好百度收录排名
  • 网站建设首页图片插入今日nba数据帝
  • 蓝科企业网站系统厦门谷歌seo
  • 做外贸的几个网站百度seo排名优化是什么
  • wordpress 代码结构快速整站优化
  • 成品网站模板下载友情链接获取的途径有哪些
  • 服务器做网站配置网络营销的八种方式
  • 网站上图怎么用ps做深圳网络营销全网推广
  • beego做网站怎么做公司网页
  • 网站建设管理报告销售网站有哪些
  • 网站怎么换模板三叶草gw9356
  • java手机网站怎么做的国外seo工具
  • 常州制作网站网络运营工作内容
  • 大型网站快速排名百度浏览器官方下载
  • 天津和平做网站多少钱山东网络推广优化排名
  • 微信如何自己创建公众号秦皇岛seo招聘