JBoss EAP6 でカスタムモジュールを作成する方法
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
