Warning message

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

JBoss EAP6 でカスタムモジュールを作成する方法

Solution Verified - Updated -

Issue

  • JBoss EAP6 にデプロイされた EJB JAR または WAR アプリケーションを実行すると、以下の例外が発生しました。
java.lang.NoClassDefFoundError:Could not initialize class net.sf.json.JsonConfig
  • JBoss のカスタムモジュールに、上記の JAR を含むカスタムモジュールを作成し、EAP6 上にデプロイされた MDB/EJB で利用できるようにできますか?
  • 外部の JAR ファイルを JBoss モジュールとして含めるにはどうすれば良いですか?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.x

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.