Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Seam 2 アプリケーションでインジェクトされたオブジェクトにアクセスすると、“@In attribute requires non-null value” エラーメッセージが表示されます

Solution Verified - Updated -

Issue

  • Seam 2 アプリケーションでインジェクトされたオブジェクトにアクセスすると、“@In attribute requires non-null value” エラーメッセージが表示されます。
  • @In(create=true) 注釈を使用してオブジェクトを作成します。値は null のままです。

Environment

  • JBoss Enterprise Application Platform (EAP) 4.x
  • JBoss Enterprise Application Platform (EAP) 5.x
  • JBoss Enterprise Application Platform (EAP) 6.x
  • Seam 2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.