Dubbo 启动有遇到多这种问题吗? 10C

24-Jun-2018 09:44:30.854 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:

Apache Tomcat/8.0.49
24-Jun-2018 09:44:30.858 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jan

19 2018 20:21:23 UTC
24-Jun-2018 09:44:30.858 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:

8.0.49.0
24-Jun-2018 09:44:30.858 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
24-Jun-2018 09:44:30.858 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:

3.10.0-693.5.2.el7.x86_64
24-Jun-2018 09:44:30.858 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
24-Jun-2018 09:44:30.858 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:

/usr/local/src/java/jre
24-Jun-2018 09:44:30.858 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:

1.8.0_152-b16
24-Jun-2018 09:44:30.858 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:

Oracle Corporation
24-Jun-2018 09:44:30.858 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:

/opt/tomcats/XXXXXX_server
24-Jun-2018 09:44:30.858 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:

/opt/tomcats/XXXXXX_server
24-Jun-2018 09:44:30.859 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Djava.util.logging.config.file=/opt/tomcats/XXXXXX_server/conf/logging.properties
24-Jun-2018 09:44:30.859 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
24-Jun-2018 09:44:30.859 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Djdk.tls.ephemeralDHKeySize=2048
24-Jun-2018 09:44:30.860 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Djava.protocol.handler.pkgs=org.apache.catalina.webresources
24-Jun-2018 09:44:30.860 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Xdebug
24-Jun-2018 09:44:30.860 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Xnoagent
24-Jun-2018 09:44:30.860 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Djava.compiler=NONE
24-Jun-2018 09:44:30.860 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8788
24-Jun-2018 09:44:30.860 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Dignore.endorsed.dirs=
24-Jun-2018 09:44:30.861 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Dcatalina.base=/opt/tomcats/XXXXXX_server
24-Jun-2018 09:44:30.861 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Dcatalina.home=/opt/tomcats/XXXXXX_server
24-Jun-2018 09:44:30.861 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -

Djava.io.tmpdir=/opt/tomcats/XXXXXX_server/temp
24-Jun-2018 09:44:30.861 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache

Tomcat Native library which allows optimal performance in production environments was not found on the

java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
24-Jun-2018 09:44:31.034 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-

8080"]
24-Jun-2018 09:44:31.044 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared

selector for servlet write/read
24-Jun-2018 09:44:31.046 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-

8009"]
24-Jun-2018 09:44:31.048 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared

selector for servlet write/read
24-Jun-2018 09:44:31.048 信息 [main] org.apache.catalina.startup.Catalina.load sInitialization processed in 556 ms
24-Jun-2018 09:44:31.070 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
24-Jun-2018 09:44:31.071 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine:

Apache Tomcat/8.0.49
24-Jun-2018 09:44:31.098 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web

application archive /opt/tomcats/XXXXXX_server/webapps/ROOT.war
24-Jun-2018 09:44:37.505 信息 [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR

was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were

scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP

compilation time.
2018-06-24 09:44:38 [ localhost-startStop-1:0 ] - [ INFO ] using logger:

com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
2018-06-24 09:44:38 [ localhost-startStop-1:6 ] - [ ERROR ] com.alibaba.dubbo.common.Version.checkDuplicate

(Version.java:144) [DUBBO] Duplicate class com/alibaba/dubbo/common/Version.class in 2 jar

[file:/opt/tomcats/XXXXXX_server/webapps/ROOT/WEB-INF/lib/dubbo-common-

2.8.4.jar!/com/alibaba/dubbo/common/Version.class, file:/opt/tomcats/XXXXXX_server/webapps/ROOT/WEB-INF/lib/dubbo-

2.8.4.jar!/com/alibaba/dubbo/common/Version.class], dubbo version: 2.8.4, current host: 127.0.0.1
2018-06-24 09:44:38 [ localhost-startStop-1:8 ] - [ ERROR ] com.alibaba.dubbo.common.Version.checkDuplicate

(Version.java:144) [DUBBO] Duplicate class com/alibaba/dubbo/config/spring/schema/DubboNamespaceHandler.class in 2 jar

[file:/opt/tomcats/XXXXXX_server/webapps/ROOT/WEB-INF/lib/dubbo-config-spring-

2.8.4.jar!/com/alibaba/dubbo/config/spring/schema/DubboNamespaceHandler.class,

file:/opt/tomcats/XXXXXX_server/webapps/ROOT/WEB-INF/lib/dubbo-

2.8.4.jar!/com/alibaba/dubbo/config/spring/schema/DubboNamespaceHandler.class], dubbo version: 2.8.4, current host: 127.0.0.

2个回答

卡在这里不动了,不知道什么原因

应该是jdk不匹配,楼主你可以换一个jdk版本1.6 1.7 1.8都要试试,应该可以解决你的问题。

u013468915
永远_不会懂 tomcat的问题,换一个tomcat就行了
大约 2 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问