私はちょうど新しいオフィスで働いていました。は、ローカルホスト上でプロジェクトを実行することができます。なぜなら、名前を持つBeanを作成中にエラーが発生するからです。
私は私のlocalhoost上でプロジェクトを実行したい場合は、私はこのエラーを持っている:
Error creating bean with name 'pageController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ptdam.ecomm.gateway.service.ServiceSecurity com.ptdam.ecomm.gateway.controller.PageController.serviceSecurity; nested exception is java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
私のプロジェクトは、JavaをベースとMavenを使用していました。誰かが私を助けることができますか?この質問に関する私の情報が不明な場合は、コメントに直接お問い合わせください。ありがとうございました。
私はチェックして、そしてそれは私のpom.xmlに ' \t \t \t org.bouncycastle \t \t \t bcprov-jdk16 \t \t \t が含まれていますシステム \t \t \t D:\サミュエル\仕事\不可欠\ bcprov-jdk16-1.46.jar 1.46 \t \t \t \t \t ' –