-1
我創建了一個JHipster應用程序使用angular + spring + maven + mysql堆棧。代碼是在嘗試構建時生成的,會產生無數的錯誤。 首先使用mvn命令行執行 - mvn spring-boot:運行 ,如https://jhipster.github.io/creating_an_app.html
中所述。它沒有工作,所以在Eclipse中導入maven項目並嘗試構建。它會導致數百個錯誤。我相信可能會有一些錯過的配置。好心提醒。Yeoman JHipster(Angular + Spring + Maven + MySQL)堆棧錯誤
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-
你仍然需要閱讀Jhipster。我建議你使用IntilliJ(社區版免費)。 – 2017-01-24 18:23:26