问答详情
源自:-

springboot 2. 1.x集成dubbo 2. 6.5?

我使用springboot2.1.3去集成dubbo 2.6.5的时候出现这样的一个问题,不知道是什么意思

Description:An attempt was made to call the method org.apache.catalina.connector.Connector.setProtocol(Ljava/lang/String;)V but it does not exist. Its class, org.apache.catalina.connector.Connector, is available from the following locations:

    jar:file:/F:/Mavenrepositories/org/apache/tomcat/embed/tomcat-embed-core/9.0.13/tomcat-embed-core-9.0.13.jar!/org/apache/catalina/connector/Connector.class

It was loaded from the following location:

    file:/F:/Mavenrepositories/org/apache/tomcat/embed/tomcat-embed-core/9.0.13/tomcat-embed-core-9.0.13.jar

Action:

Correct the classpath of your application so that it contains a single, compatible version of org.apache.catalina.connector.Connector

我看了我本地仓库中是有这个jar的,而且我的项目中也依赖了这个jar,且只有一个依赖


提问者:qq_Loveyoulovef_0 2019-04-03 22:38

个回答

  • huangxuanheng
    2019-08-05 09:10:22

    你好,请问您是怎么解决的?我也遇到了一模一样的问题

  • qq_朱波_1
    2019-04-27 10:16:53

    请问怎么解决的

  • qq_慕仰9157060
    2019-04-16 08:59:43

    您好,请问你是怎么解决的呢?

  • qq_Loveyoulovef_0
    2019-04-04 10:36:13

    哎,问题找到了,jar包冲突了