Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jetty:run运行异常 #2

Open
pisfans opened this issue Dec 31, 2017 · 2 comments
Open

jetty:run运行异常 #2

pisfans opened this issue Dec 31, 2017 · 2 comments

Comments

@pisfans
Copy link

pisfans commented Dec 31, 2017

Failed to execute goal on project yan-web: Could not resolve dependencies for project com.yan:yan-web:war:1.0-SNAPSHOT: Could not find artifact com.yan:yan-core:jar:1.0-SNAPSHOT -> [Help 1]

@pisfans
Copy link
Author

pisfans commented Dec 31, 2017

我自己的java环境配置问题

@micyo202
Copy link
Owner

micyo202 commented Jan 6, 2018

你好,若使用maven插件jetty run方式运行,首先需要运行yan(root)节点下的mvn install,将本项目各模块install到本地maven仓库中,运行完会看到如下提示:
[INFO] yan ................................................ SUCCESS [ 0.360 s]
[INFO] yan-model .......................................... SUCCESS [ 1.258 s]
[INFO] yan-common ......................................... SUCCESS [ 0.074 s]
[INFO] yan-api ............................................ SUCCESS [ 0.197 s]
[INFO] yan-core ........................................... SUCCESS [ 0.371 s]
[INFO] yan-web ............................................ SUCCESS [ 6.025 s]
[INFO] yan-test ........................................... SUCCESS [ 0.060 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS

然后在运行jetty run即可,若还是不行请部署至tomcat中运行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants