急急急 求救jbuilder9+weblogic8 奇怪的问题

04-03-31 emerson_zb

我建立了一些ejb的实体bean,

实体bean是根据数据库已建好的表创建的。

之后写了几个SessionBean

因为设计原因,我重新更改了数据库。

所以要刷新数据库并删除原来部分的实体bean,

重新建立,这时出现如下错误:

<EJB Deployment: UserBean has a class wf.WFModelBean which is in the classpath. This class should only be located in

the ejb-jar file.>

我该怎么做呢?

emerson_zb
2004-03-31 15:10

错误是<EJB Deployment: UserBean has a class user.UserBean which is in the classpath. This class should only be located in

the ejb-jar file.>

emerson_zb
2004-03-31 15:11

EJB Deployment: UserBean has a cla

ss user.UserBean which is in the classpath. This class should only be located in

the ejb-jar file

怎么发不上,我重发一下

pdb
2004-03-31 17:43

把你那个*.Jar文件删除,重新启动一下JB.

然后编译看看

pdb
2004-03-31 17:48

如果你在configure libra.. 里配置了这个JAR也不行的,把它删除.

然后重启JB