Comments (1)
尊敬的博主你好:
我再部署你这个项目现在项目跑起来了,遇到一个瓶颈问题就是maven包下载不下来这是错误日志
准备下载api.jar文件...
groupId:com.ewell.bill
artifactId:bill-api
version:1.0.2-SNAPSHOT
api.jar的url:http://192.168.150.59:8081/repository/maven-public/?r=snapshots&g=com.ewell.bill&a=bill-api&v=1.0.2-SNAPSHOT&e=jar
构建api.jar的pom.xml文件的url:http://192.168.150.59:8081/repository/maven-public/?r=snapshots&g=com.ewell.bill&a=bill-api&v=1.0.2-SNAPSHOT&e=pom
api.jar下载路径:c:/tmp/dubbo-postman/1_0_2-SNAPSHOT_billing-pms-ewell/lib
pom.xml的下载路径:c:/tmp/dubbo-postman/1_0_2-SNAPSHOT_billing-pms-ewell
开始下载:bill-api.jar文件
下载:bill-api.jar文件成功
开始下载:bill-api的pom.xml文件
下载:bill-api的pom.xml文件成功
处理api.jar的所有依赖,通过执行maven命令: 'mvn dependency:copy-dependencies -DoutputDirectory=./lib -DexcludeScope=provided -U'
开发执行maven命令
2019-09-12 09:44:39,996 INFO [http-nio-8080-exec-4] o.a.m.c.e.ExecutionEventLogger:projectDiscoveryStarted:86 Scanning for projects...
2019-09-12 09:44:40,005 ERROR [http-nio-8080-exec-4] o.a.m.DefaultMaven:error:89 [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM c:\tmp\dubbo-postman\1_0_2-SNAPSHOT_billing-pms-ewell\pom.xml: Expected root element 'project' but found 'html' (position: START_TAG seen ...\n... @3:7) @ line 3, column 7
@
2019-09-12 09:44:40,006 ERROR [http-nio-8080-exec-4] o.a.m.c.MavenCli:logSummary:977 The build could not read 1 project -> [Help 1]
2019-09-12 09:44:40,007 ERROR [http-nio-8080-exec-4] o.a.m.c.MavenCli:logSummary:977
2019-09-12 09:44:40,007 ERROR [http-nio-8080-exec-4] o.a.m.c.MavenCli:logSummary:977 The project (c:\tmp\dubbo-postman\1_0_2-SNAPSHOT_billing-pms-ewell\pom.xml) has 1 error
2019-09-12 09:44:40,007 ERROR [http-nio-8080-exec-4] o.a.m.c.MavenCli:logSummary:977 Non-parseable POM c:\tmp\dubbo-postman\1_0_2-SNAPSHOT_billing-pms-ewell\pom.xml: Expected root element 'project' but found 'html' (position: START_TAG seen ...\n... @3:7) @ line 3, column 7 -> [Help 2]
2019-09-12 09:44:40,007 ERROR [http-nio-8080-exec-4] o.a.m.c.MavenCli:execute:888
2019-09-12 09:44:40,007 ERROR [http-nio-8080-exec-4] o.a.m.c.MavenCli:execute:892 To see the full stack trace of the errors, re-run Maven with the -e switch.
2019-09-12 09:44:40,007 ERROR [http-nio-8080-exec-4] o.a.m.c.MavenCli:execute:896 Re-run Maven using the -X switch to enable full debug logging.
2019-09-12 09:44:40,008 ERROR [http-nio-8080-exec-4] o.a.m.c.MavenCli:execute:901
2019-09-12 09:44:40,008 ERROR [http-nio-8080-exec-4] o.a.m.c.MavenCli:execute:902 For more information about the errors and possible solutions, please read the following articles:
2019-09-12 09:44:40,008 ERROR [http-nio-8080-exec-4] o.a.m.c.MavenCli:execute:907 [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
2019-09-12 09:44:40,008 ERROR [http-nio-8080-exec-4] o.a.m.c.MavenCli:execute:907 [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
maven执行失败,文件路径:c:/tmp/dubbo-postman/1_0_2-SNAPSHOT_billing-pms-ewell
[ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM c:\tmp\dubbo-postman\1_0_2-SNAPSHOT_billing-pms-ewell\pom.xml: Expected root element 'project' but found 'html' (position: START_TAG seen ...\n... @3:7) @ line 3, column 7
这行日志说明你的pom文件【bill-api.pom】有问题。
我说下检查点:
1,项目的resources/config/setting.xml改成你们公司的统一的setting.xml文件,
系统会自动修改里面的localRepository这个值为你当前系统的路径。
2,确保在deploy api.jar的时候,你的api.jar对应的parent的pom文件也deploy了。
通过上面这两个检查应该基本能确定问题了,不过不行的话可以重试一次,还是不行的话。
可以通过另一种方式:
找一个新项目【dubbo的consumer项目】,在这个项目里面添加api.pom为依赖,然后启动这个新项
目,如果不能启动成功,则看下相关错误,只要保证这个项目启动成功了,在dubbo-postman里面也
是可以正常操作的。
from dubbo-postman.
Related Issues (19)
- 页面启动后,一直报错,network error HOT 7
- 请问后端启动具体需要配置哪些? HOT 1
- 创建服务碰到的问题? HOT 6
- 我想把redis哨兵模式改成单机模式,只改redisConfig里面的东西可以不? HOT 1
- 启动错误 HOT 1
- nexus有密码的话,如何配置呢? HOT 5
- 不是问题 HOT 1
- 已解决,自己的问题
- 已解决,自己的问题 HOT 1
- 非常感谢作者的开源精神,十分佩服和感激,我来给作者提几个 后面需求,希望作者认真考虑,非常NICE的工具 HOT 1
- 加载到内存失败。 HOT 3
- pom文件解析失败 HOT 3
- 添加注册中心地址失败及redis连接方式调整 HOT 6
- 添加dubbo attachments支持 HOT 1
- 同学,您这个项目引入了893个开源组件,存在53个漏洞,辛苦升级一下 HOT 1
- 发送服务 HOT 3
- 访问服务菜单点击send按钮报错 HOT 6
- 创建服务时下载pom文件错误 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dubbo-postman.