我有一个在 Red Hat 的 Linux 服务器上运行的 Web 应用程序(Java EE、Struts 1.1、JSP、Tomcat 5.5.20、WebLogic、Oracle)。我编辑了一个表并在其上添加了一些字段(数据库)。然后我在 Jbuilder7 .clean 中编辑所需的文件并制作相关的 jar 文件,最后,清理并制作 ear 文件。earfile 的制作没有错误。但是当我在weblogic服务器上部署earfile,出现如下错误* (无法部署EJB:markaz.jar from markaz.jar)。* 请指导我!我该怎么办?
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompi ler.java:249)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBComp iler.java:344)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDep loyer.java:489)
at weblogic.ejb20.deployer.EJBDeployer.compileEJB(EJB Deployer.java:819)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDep loyer.java:1268)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModul e.java:232)
at weblogic.j2ee.J2EEApplicationContainer.prepareModu le(J2EEApplicationContainer.java:1570)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2E EApplicationContainer.java:737)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2E EApplicationContainer.java:555)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2E EApplicationContainer.java:458)
at weblogic.management.deploy.slave.SlaveDeployer.pre pareAllStagedApplications(SlaveDeployer.java:490)
at weblogic.management.deploy.slave.SlaveDeployer.ini tialize(SlaveDeployer.java:253)
at weblogic.management.deploy.DeploymentManagerServer LifeCycleImpl.initialize(DeploymentManagerServerLi feCycleImpl.java:150)
at weblogic.t3.srvr.ServerLifeCycleList.initialize(Se rverLifeCycleList.java:54)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:78 2)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594 )
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
}.
weblogic.management.ApplicationException: Prepare failed. Task Id = null
{
Module Name: markaz.jar, Error: Exception preparing module: EJBModule(markaz.jar,status=NEW)
无法部署 EJB:markaz.jar 来自 markaz.jar