dubbo远程调试运行

缺包问题:

maven配置或则下载

http://central.maven.org/maven2/org/mortbay/jetty/jetty/7.0.0.pre5/jetty-7.0.0.pre5.jar

http://central.maven.org/maven2/org/mortbay/jetty/jetty-util/6.0.0/jetty-util-6.0.0.jar

http://central.maven.org/maven2/ch/qos/logback/logback-core/1.1.7/logback-core-1.1.7.jar

<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>6.0.0</version>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.1.7</version>
</dependency>

<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
<version>7.0.0.pre5</version>
</dependency>

dubbo远程调试:

java -Xdebug -Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n -jar basicDubbo-service.jar

上一篇:深入理解Java中的String


下一篇:Centos6.5源码编译安装nginx