私はJHipster の正しい Eclipse セットアップとは何を見ていましたか? 別の質問を投稿することを正当化するのに十分な違いがある同様の質問があると判断しました。
正常に動作するように見える yo を使用して jhipster アプリをビルドして実行できます (データベースを除いてデフォルトを選択します。これは、ローカルと製品の両方の MySQL、さらに websockets、および CSS パッケージの「y」です)。
その後、maven プロジェクトを STS 3.5 にインポートして、そこからも問題なく実行できます。
私が理解したい唯一のことは、このプロジェクトの STS で非常に多くの DTD、JSON、XML、さらには 1 つの Java エラー報告があるにもかかわらず、これらすべてが機能しているように見えるのはなぜですか? STS プロジェクトでこれらの検証の一部を無視することを選択する必要がありますか? それとも、これらは正当な jhipster バグですか?
エラーには次のものがあります。
説明 リソース パス ロケーション タイプ
APT の問題 (1 項目)
JSR250: Java の CommonAnnotations、2.5: @PostConstruct メソッドはチェック例外をスローしてはなりません。Application.java /pdbClient/src/main/java/com/staples/pdbc 行 35 注釈の問題
DTD問題(2項目)
エンティティ「ContentType」の宣言は「>」で終了する必要があります。strict.dtd /pdbClient/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/node_modules/sax/examples 行 81 DTD 問題。. .
JSON問題(23項目)
オブジェクトが閉じられていません。bower.json /pdbClient/node_modules/bower/node_modules/bower-json/test/pkg-bower-json-不正な形式の行 1 JSON の問題
予期しないトークン '/'。期待される '}'、 '、'。壊れた.json /pdbClient/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test 10 行目の JSON の問題 (など)。. .
予期しないトークン '<%'。文字列または '}' が必要です。_bower.json /pdbClient/node_modules/generator-jhipster/app/templates 行 4 JSON の問題 (など)。. .
XML問題 (30項目)
要素のコンテンツは、整形式の文字データまたはマークアップで構成されている必要があります。_pom.xml /pdbClient/node_modules/generator-jhipster/app/templates 行 4 XML の問題
要素タイプ「slurm」は、一致する終了タグ「」で終了する必要があります。big-not-pretty.xml /pdbClient/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/node_modules/sax/examples 行 7 XML の問題 (など)。. .
文字列「--」はコメント内では使用できません。test.xml /pdbClient/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/node_modules/sax/examples 10 行目の XML の問題 (など)。. .
XML 宣言の「version」に続く値は、引用符で囲まれた文字列である必要があります。fries.xml /pdbClient/node_modules/generator-jhipster/node_modules/cheerio/node_modules/CSSselect/test/sizzle/data 行 1 XML の問題 (など)。. .
要素タイプ「列」に関連付けられた属性「defaultValueDate」の値には、「<」文字を含めることはできません。_db-changelog-001.xml /pdbClient/node_modules/generator-jhipster/app/templates/src/main/resources/config/liquibase/changelog 行 28 XML の問題
要素タイプ「キャッシュ」に関連付けられた属性「名前」の値には、「<」文字を含めてはなりません。_ehcache.xml /pdbClient/node_modules/generator-jhipster/app/templates/src/main/resources 行 20 XML の問題 (など)。. .