使用dubbo对服务进行管理遇到的问题汇总

1.

[WARNING] The POM for cn.e3mall:e3mall-common:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] e3mall-manager ..................................... FAILURE [ 0.060 s]
[INFO] e3mall-manager-pojo ................................ SKIPPED
[INFO] e3mall-manager-dao ................................. SKIPPED
[INFO] e3mall-manager-interface ........................... SKIPPED
[INFO] e3mall-manager-service ............................. SKIPPED
[INFO] e3mall-manager-web ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.366 s
[INFO] Finished at: 2018-06-19T11:12:37+08:00
[INFO] Final Memory: 6M/16M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project e3mall-manager: Could not resolve dependencies for project cn.e3mall:e3mall-manager:pom:0.0.1-SNAPSHOT: Could not find artifact cn.e3mall:e3mall-common:jar:0.0.1-SNAPSHOT -> [Help 1]
[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.


解决:在本地仓库中找不到e3mall-common:jar包  解决:将e3mall-common安装到本地仓库


2.在启动e3-manager-service时,程序卡在starting Apache Tomcat/7.0.47不动


解决:将log4j放入service下的resources下,即可查看程序运行出错的信息


    我的问题是未开zookeeper,在cmd中运行zkServer.cmd后,重新启动maven即可成功

3.maven可以启动成功,访问localhost:8080可以成功,但当访问localhost:8080/item/873970,即查找数据库时,出现500错误

解决:将e3-manager; e3-manager-service; e3-manager-web进行maven-install,重新运行,即可成功。

4.启动e3-manager或者e3-manager-web时,系统在启动端口时卡住不动,如下图


解决:想要获取错误信息,可将log4j.properties放在e3-manager的resources下面,即可看到错误信息

5.启动时显示报错“clean plugin”错误,一般是eclipse异常退出,导致javaw.exe在后台继续运行

解决:任务管理器关闭javaw.exe进程,重新运行


展开阅读全文

没有更多推荐了,返回首页