問題タブ [entitymanagerfactory]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
spring - エラー: パッケージが分離された構成の 'entityManagerFactory'。スプリングブーツ
私は春のブーツプロジェクトを書いています。プロジェクトをパッケージ (コントローラー、モデル、リポジトリー、サービス) に分けています。しかし、プロジェクトを実行すると、このエラーが発生します。
インジェクション ポイントには次のアノテーションがあります。 - @org.springframework.beans.factory.annotation.Autowired(required=true)
処置: 構成で'entityManagerFactory'という名前のBeanを定義することを検討してください。
構成:
java - StrategySelectionException と BeanCreationException (entityManagerFactory) で問題のアプリケーションを起動します
次の号で助けてください、ありがとう。古いプロジェクトに変更を加える必要がありますが、アプリを起動することさえできないという問題があります。次の問題があります。