问答详情
源自:3-5 业务场景实战之商城商品列表功能~列表查询功能实现

麻烦看下启动报的错

***************************

APPLICATION FAILED TO START

***************************


Description:


An attempt was made to call a method that does not exist. The attempt was made from the following location:


    com.alibaba.dubbo.remoting.http.tomcat.TomcatHttpServer.<init>(TomcatHttpServer.java:63)


The following method did not exist:


    org.apache.catalina.connector.Connector.setProtocol(Ljava/lang/String;)V


The method's class, org.apache.catalina.connector.Connector, is available from the following locations:


    jar:file:/E:/Maven/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.30/tomcat-embed-core-9.0.30.jar!/org/apache/catalina/connector/Connector.class


It was loaded from the following location:


    file:/E:/Maven/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.30/tomcat-embed-core-9.0.30.jar



Action:


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


提问者:backham 2020-02-18 16:19

个回答