首页 新闻 会员 周边

新手求助: maven java应用项目, 如何发布到tomcat。

0
悬赏园豆:5 [已解决问题] 解决于 2017-06-27 09:19

maven  java应用项目, 如何发布到tomcat。新手求助

 

搜索了一些资料。 采用Maven Install 打包为jar。 总是提示


[ERROR] Failed to execute goal on project tbd-site-service-marketing: Could not resolve dependencies for project com.tbd.inte:tbd-site-service-marketing:jar:1.0.0: The following artifacts could not be resolved: com.tbd.inte:tbd-site-api-inner:jar:1.0.0, com.tbd.inte:tbd-site-util:jar:1.0.0: Failure to find com.tbd.inte:tbd-site-api-inner:jar:1.0.0 in http://192.168.0.123:8082/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]

inner依赖util。util 是一个子项目代码。 在一个相同的大项目下。 怎么老是提示包不存在呢。

感觉应该是自动依赖的代码的。 不是依赖包的呀。。。。

colvinliu的主页 colvinliu | 初学一级 | 园豆:6
提问于:2017-05-08 11:21
< >
分享
最佳答案
1

发布不应该用Jenkins?

收获园豆:5
[3] | 小虾三级 |园豆:1174 | 2017-05-08 13:19

你说的是自动构建. 我没表达清楚.

我的意思是怎么把dubbo这样的服务部署到tomcat中.   是xxx.jar这样的应用项目.  不是xxx.war的web项目.

colvinliu | 园豆:6 (初学一级) | 2017-06-27 09:24
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册