yan icon indicating copy to clipboard operation
yan copied to clipboard

jetty:run运行异常

Open pisfans opened this issue 7 years ago • 2 comments

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 avatar Dec 31 '17 07:12 pisfans

我自己的java环境配置问题

pisfans avatar Dec 31 '17 07:12 pisfans

你好,若使用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中运行

micyo202 avatar Jan 06 '18 16:01 micyo202