0

7サーバーとしてjbossにデプロイするjavaeeプロジェクトを開発しました。

シナリオは

A java ee project in which ejb module contains execution classes.
some of the pojo events are defined in another plain java project lets say p1
  and p1 is referenced in java ejb module and it appears in ./lib directory 
  of ear where other jar files exists.
auto-import tag in esper-config.xml has been added for p1 classes.

"cepConfig.cnfigure(esper-config.xml)" executes fine and 
   I can see all event types as reuired in debug mode.
"EpServiceProvider.getProvider("MyEngine",cepConfig)" results in error
   which says "could not find event type or class named p1.mypack.class1"

プロジェクトの参照と展開の設定を確認しました。p1.jarは./libディレクトリにあります。
すべてのクラスは公開されており、アクセス可能です。他に何をチェックする必要がありますか?

4

1 に答える 1

1

そのクラス「p1.mypack.class1」は、クラスパス (Jboss システム クラスパスまたはモジュール クラスパス) の一部である必要があります。

于 2013-02-04T13:20:06.367 に答える