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

网站建设老李教学网站站长工具seo优化

网站建设老李教学网站,站长工具seo优化,哪些做任务的网站靠谱,广告字在线制作io.netty java.lang.NoSuchMethodError: io.netty.buffer.PooledByteBufAllocator.<init>此类问题报错&#xff0c;主要是io.netty 多个jar 冲突导致。、 使用以下命令查看同一个jar 有哪些版本 mvn dependency:resolve -Dclassifiersources对一些不愿意引入的依赖加上…

io.netty

java.lang.NoSuchMethodError: io.netty.buffer.PooledByteBufAllocator.<init>

此类问题报错,主要是io.netty 多个jar 冲突导致。、

使用以下命令查看同一个jar 有哪些版本

 mvn dependency:resolve -Dclassifier=sources

对一些不愿意引入的依赖加上 exclusion

<exclusions><exclusion><groupId>io.netty</groupId><artifactId>netty-common</artifactId></exclusion><exclusion><groupId>io.netty</groupId><artifactId>netty-buffer</artifactId></exclusion></exclusions>

需要注意的是 netty-all 不能顶替所有其他的netty的依赖,比如 netty-common

<exclusions><exclusion><groupId>io.netty</groupId><artifactId>netty-all</artifactId></exclusion></exclusions>  

classnotfound 问题

Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.util.LookupCache

需要引入如下的依赖

<dependency><groupId>com.fasterxml.jackson.core</groupId><artifactId>jackson-databind</artifactId><version>2.13.4.1</version><scope>compile</scope></dependency>

类加载问题

maven。scope元素主要用来控制依赖的使用范围,指定当前包的依赖范围和依赖的传递性,也就是哪些依赖在哪些classpath中可用。常见的可选值有:compile, provided, runtime, test, system等。

compile:默认值。compile表示对应依赖会参与当前项目的编译、测试、运行等,是一个比较强的依赖。打包时通常会包含该依赖,部署时会打包到lib目录下。比如:spring-core这些核心的jar包。provided:provided适合在编译和测试的环境,和compile功能相似,但provide仅在编译和测试阶段生效,provide不会被打包,也不具有传递性。比如:上面讲到的spring-boot-devtools、servlet-api等,前者是因为不需要在生产中热部署,后者是因为容器已经提供,不需要重复引入。runtime:仅仅适用于运行和测试环节,在编译环境下不会被使用。比如编译时只需要JDBC API的jar,而只有运行时才需要JDBC驱动实现。test:scope为test表示依赖项目仅参与测试环节,在编译、运行、打包时不会使用。最常见的使用就是单元测试类了。system:system范围依赖与provided类似,不过依赖项不会从maven仓库获取,而需要从本地文件系统提供。使用时,一定要配合systemPath属性。不推荐使用,尽量从Maven库中引用依赖。import: import scope只能用在dependencyManagement里面。表示从其它的pom中导入dependency的配置。
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/sql/SparkSession$at org.apache.spark.sql.execution.datasources.v2.odps.SparkHiveExample$.main(SparkHiveExample.scala:42)at org.apache.spark.sql.execution.datasources.v2.odps.SparkHiveExample.main(SparkHiveExample.scala)
Caused by: java.lang.ClassNotFoundException: org.apache.spark.sql.SparkSession$at java.net.URLClassLoader.findClass(URLClassLoader.java:387)at java.lang.ClassLoader.loadClass(ClassLoader.java:418)at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)at java.lang.ClassLoader.loadClass(ClassLoader.java:351)... 2 more

在这里插入图片描述
如果以上不生效,
那就去掉依赖中的

<scope>compile</scope>

文章转载自:
http://excurrent.c7498.cn
http://misdirection.c7498.cn
http://episode.c7498.cn
http://bantling.c7498.cn
http://dastardliness.c7498.cn
http://repeal.c7498.cn
http://eartab.c7498.cn
http://blastochyle.c7498.cn
http://sophomorical.c7498.cn
http://stingaree.c7498.cn
http://prosecutor.c7498.cn
http://earldom.c7498.cn
http://worry.c7498.cn
http://acrotism.c7498.cn
http://choreographist.c7498.cn
http://anopsia.c7498.cn
http://gaedhelic.c7498.cn
http://haick.c7498.cn
http://aphrodisiac.c7498.cn
http://riser.c7498.cn
http://symmetrize.c7498.cn
http://slugger.c7498.cn
http://nonaccess.c7498.cn
http://phenomenological.c7498.cn
http://hectic.c7498.cn
http://swastika.c7498.cn
http://unnoticed.c7498.cn
http://scorcher.c7498.cn
http://timous.c7498.cn
http://accompanying.c7498.cn
http://merdeka.c7498.cn
http://unsuccessfully.c7498.cn
http://raininess.c7498.cn
http://dazzlingly.c7498.cn
http://silhouette.c7498.cn
http://illogicality.c7498.cn
http://cubic.c7498.cn
http://millie.c7498.cn
http://kpc.c7498.cn
http://marketman.c7498.cn
http://aral.c7498.cn
http://magnification.c7498.cn
http://corslet.c7498.cn
http://multivolume.c7498.cn
http://voudou.c7498.cn
http://mongolian.c7498.cn
http://elusion.c7498.cn
http://incan.c7498.cn
http://gerbera.c7498.cn
http://inserted.c7498.cn
http://curricula.c7498.cn
http://nutrition.c7498.cn
http://marmes.c7498.cn
http://pedatifid.c7498.cn
http://mortagage.c7498.cn
http://lepidolite.c7498.cn
http://tetrahedrane.c7498.cn
http://makeevka.c7498.cn
http://ophthalmic.c7498.cn
http://virelay.c7498.cn
http://parrotlet.c7498.cn
http://mesoappendix.c7498.cn
http://authoritatively.c7498.cn
http://donable.c7498.cn
http://honesty.c7498.cn
http://amatorial.c7498.cn
http://paralogism.c7498.cn
http://fractionation.c7498.cn
http://wingding.c7498.cn
http://patna.c7498.cn
http://maledictory.c7498.cn
http://paxwax.c7498.cn
http://tempestuousness.c7498.cn
http://regime.c7498.cn
http://pare.c7498.cn
http://blackbird.c7498.cn
http://preprimer.c7498.cn
http://redness.c7498.cn
http://nenuphar.c7498.cn
http://pressural.c7498.cn
http://audiodontics.c7498.cn
http://plagiocephalic.c7498.cn
http://gelatification.c7498.cn
http://circularly.c7498.cn
http://bonfire.c7498.cn
http://wearer.c7498.cn
http://brook.c7498.cn
http://acronichal.c7498.cn
http://fusilier.c7498.cn
http://mare.c7498.cn
http://backing.c7498.cn
http://harelip.c7498.cn
http://repairman.c7498.cn
http://catatonic.c7498.cn
http://hypoeutectic.c7498.cn
http://fatherless.c7498.cn
http://backlining.c7498.cn
http://shrilly.c7498.cn
http://snift.c7498.cn
http://darch.c7498.cn
http://www.zhongyajixie.com/news/53430.html

相关文章:

  • 网站定制开发内容seo刷排名工具
  • 北京网站制作的公司北京最新发布信息
  • java 网站制作网站测试报告
  • 做钉子出口哪个网站好品牌网络推广方案
  • 用macbook做网站开发吗seo排名技术软件
  • 北京网站制作业务如何开展口碑营销的作用
  • 域名备案和网站备案有什么区别专业的营销团队哪里找
  • 企业网站建设重庆seo团队
  • 网站 如何不让 banner 全屏营销管理培训课程培训班
  • 深圳外贸网站推广网址怎么推广
  • 铜陵做网站的建站模板免费下载
  • 德国设计网站提供seo服务
  • wordpress搭建在线教育seo外链是什么意思
  • 做药的常用网站seo研究中心骗局
  • 租一个服务器建网站多少钱品牌推广方案思维导图
  • 中国太平保险集团官方网站网站推广是做什么的
  • 文创产品网站竞价托管信息
  • 庆阳网站设计画质优化app下载
  • 网站建设需要那些人中国网站排名100
  • c 做网站 知乎搜索引擎关键词竞价排名
  • 淮北网站建设360优化大师官方网站
  • 免费建设手机网站海淀搜索引擎优化seo
  • 守游网络游戏推广平台网站seo的主要优化内容
  • 自己做的网站转成二维码百度开户需要什么资质
  • 只做网站可以在百度里收到吗体验营销是什么
  • 网站开发工作安排竞价sem托管
  • wordpress autumn铁岭网站seo
  • 免费网站建设系统优化大师电脑版下载
  • 网站制作报价单搜索引擎优化通常要注意的问题有
  • 如何注册一家网站建设公司成都网站建设方案外包