Yeoman JHipster(Angular+;Spring+;Maven+;MySQL)堆栈错误

Yeoman JHipster(Angular+;Spring+;Maven+;MySQL)堆栈错误,maven,yeoman,jhipster,Maven,Yeoman,Jhipster,我使用angular+spring+maven+mysql堆栈创建了一个JHipster应用程序。代码是在尝试构建时生成的,会出现无数错误。 首先使用mvn命令行执行-mvn-spring-boot:run 如https://jhipster.github.io/creating_an_app.html。它不起作用,所以在eclipse中导入了maven项目并尝试构建。它给出的错误多达数百个。我相信可能有一些配置被遗漏了。请告知 Errors with running maven at comm

我使用angular+spring+maven+mysql堆栈创建了一个JHipster应用程序。代码是在尝试构建时生成的,会出现无数错误。 首先使用mvn命令行执行-mvn-spring-boot:run 如
https://jhipster.github.io/creating_an_app.html
。它不起作用,所以在eclipse中导入了maven项目并尝试构建。它给出的错误多达数百个。我相信可能有一些配置被遗漏了。请告知

Errors with running maven at command prompt:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22:41 min
[INFO] Finished at: 2015-04-06T11:46:14+05:30
[INFO] Final Memory: 21M/136M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project om: Could not resolve dependencies for
 project om:om:war:0.0.1-SNAPSHOT: Could not transfer artifact net.sf.saxon:Saxo
n-HE:jar:9.6.0-4 from/to central (https://repo.maven.apache.org/maven2): GET req
uest of: net/sf/saxon/Saxon-HE/9.6.0-4/Saxon-HE-9.6.0-4.jar from central failed:
 SSL peer shut down incorrectly -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException

Errors when building with eclipse:

Description Resource    Path    Location    Type
The declaration for the entity "ContentType" must end with '>'. strict.dtd  /test/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/node_modules/sax/examples  line 81 DTD Problem
The declaration for the entity "ContentType" must end with '>'. strict.dtd  /test/node_modules/grunt-svgmin/node_modules/svgo/node_modules/sax/examples line 81 DTD Problem
The declaration for the entity "ContentType" must end with '>'. strict.dtd  /test/node_modules/xml2js/node_modules/sax/examples line 81 DTD Problem
Start tag (<form>) not closed properly, expected '>'.   _entities.html  /test/node_modules/generator-jhipster/entity/templates/src/main/webapp/app  line 12 HTML Problem
Start tag (<form>) not closed properly, expected '>'.   _entities.html  /test/node_modules/generator-jhipster/entity/templates/src/main/webapp/app  line 12 HTML Problem
Start tag (<input>) not closed properly, expected '>'.  _entities.html  /test/node_modules/generator-jhipster/entity/templates/src/main/webapp/app  line 40 HTML Problem
Start tag (<input>) not closed properly, expected '>'.  _entities.html  /test/node_modules/generator-jhipster/entity/templates/src/main/webapp/app  line 40 HTML Problem
Start tag (<tbody>) not closed properly, expected '>'.  _entities.html  /test/node_modules/generator-jhipster/entity/templates/src/main/webapp/app  line 153    HTML Problem
Start tag (<tbody>) not closed properly, expected '>'.  _entities.html  /test/node_modules/generator-jhipster/entity/templates/src/main/webapp/app  line 153    HTML Problem
Attribute (cellpadding) is obsolete. Its use is discouraged in HTML5 documents. pkginfo.html    /test/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/docs  line 1  HTML Problem
Attribute (cellpadding) is obsolete. Its use is discouraged in HTML5 documents. pkginfo.html    /test/node_modules/karma/node_modules/http-
在命令提示下运行maven时出现
错误:
[信息]------------------------------------------------------------------------
[信息]生成失败
[信息]------------------------------------------------------------------------
[信息]总时间:22:41分钟
[信息]完成时间:2015-04-06T11:46:14+05:30
[信息]最终内存:21M/136M
[信息]------------------------------------------------------------------------
[错误]无法对项目om执行目标:无法解析的依赖项
项目om:om:war:0.0.1-SNAPSHOT:无法传输工件net.sf.saxon:Saxo
n-HE:jar:9.6.0-4从/到中环(https://repo.maven.apache.org/maven2):获取请求
来自central的:net/sf/saxon/saxon-HE/9.6.0-4/saxon-HE-9.6.0-4.jar的uest失败:
SSL对等服务器错误关闭->[帮助1]
[错误]
[错误]要查看错误的完整堆栈跟踪,请使用-e swit重新运行Maven
中国。
[错误]使用-X开关重新运行Maven以启用完整调试日志记录。
[错误]
[错误]有关错误和可能的解决方案的更多信息,请重试
d以下条款:
[错误][帮助1]http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
粘液异常
使用eclipse生成时出错:
说明资源路径位置类型
实体“ContentType”的声明必须以“>”结尾。strict.dtd/test/node_modules/grunt contrib imagemin/node_modules/imagemin/node_modules/imagemin svgo/node_modules/svgo/node_modules/sax/示例行81 dtd问题
实体“ContentType”的声明必须以“>”结尾。strict.dtd/test/node_modules/grunt svgmin/node_modules/svgo/node_modules/sax/示例行81 dtd问题
实体“ContentType”的声明必须以“>”结尾。strict.dtd/test/node_modules/xml2js/node_modules/sax/examples行81 dtd问题
开始标记()未正确关闭,应为'>'_entities.html/test/node_modules/generator jhipster/entity/templates/src/main/webapp/app line 12 html问题
开始标记()未正确关闭,应为'>'_entities.html/test/node_modules/generator jhipster/entity/templates/src/main/webapp/app line 12 html问题
开始标记()未正确关闭,应为'>'_entities.html/test/node_modules/generator jhipster/entity/templates/src/main/webapp/app line 40 html问题
开始标记()未正确关闭,应为'>'_entities.html/test/node_modules/generator jhipster/entity/templates/src/main/webapp/app line 40 html问题
开始标记()未正确关闭,应为'>'_entities.html/test/node_modules/generator jhipster/entity/templates/src/main/webapp/app line 153 html问题
开始标记()未正确关闭,应为'>'_entities.html/test/node_modules/generator jhipster/entity/templates/src/main/webapp/app line 153 html问题
属性(cellpadding)已过时。HTML5文档中不鼓励使用它。pkginfo.html/test/node_modules/karma/node_modules/http代理/node_modules/pkginfo/docs第1行html问题
属性(cellpadding)已过时。HTML5文档中不鼓励使用它。pkginfo.html/test/node_modules/karma/node_modules/http-

您可以在日志中看到问题的解释:

    Could not transfer artifact net.sf.saxon:Saxon-HE:jar:9.6.0-4 
from/to central (https://repo.maven.apache.org/maven2): 
GET request of: net/sf/saxon/Saxon-HE/9.6.0-4/Saxon-HE-9.6.0-4.jar 
from central failed: SSL peer shut down incorrectly

它说您在连接到maven存储库时遇到了问题,这个问题可能是由于网络问题,或者一些maven未完成配置

你还需要读一读关于杰普斯特的书。我建议您使用IntilliJ(免费社区版)。