make就有好多错

解决方案 »

  1.   

    把错误信息贴出来 估计是你所用的一些外部jar文件缺少
      

  2.   

    "EJBshuju.jar": <2006-7-26 下午04时57分32秒 CST> <Warning> <EJB> <BEA-010202> <Call-by-reference is not enabled for the EJB 'Shopshangpin'. The server will have better performance if it is enabled. To enable call-by-reference, set the enable-call-by-reference element to True in the weblogic-ejb-jar.xml deployment descriptor for this EJB.> 
    "EJBshuju.jar": WARNING: Warning from ejbc: The ejb 'Shopshangpin' has a Remote View. However, the <jndi-name> is not set.
    "EJBshuju.jar": WARNING: Warning from ejbc: The ejb 'Shopuserid' has a Remote View. However, the <jndi-name> is not set.
    "EJBshuju.jar": [J2EE:160119]Appc is unable to process the file 'D:\jbproject\shopping\EJBshuju.jar.jar'. The following error occurred:
    "EJBshuju.jar": [EJB:011019]While reading META-INF/weblogic-cmp-rdbms-jar.xml, the persistence layer of the Entity EJB failed to deploy. The error was:
    "EJBshuju.jar":  Error in descriptor line 37: Error parsing file at line: 37 column: 17.  The content of element type "table-map" must match "(table-name,field-map*,verify-rows?,verify-columns?,optimistic-column?)"..
    "EJBshuju.jar":  at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:255)
    "EJBshuju.jar":  at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    "EJBshuju.jar":  at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:387)
    "EJBshuju.jar":  at weblogic.appc.compileEJB(appc.java:809)
    "EJBshuju.jar":  at weblogic.appc.compileEJB(appc.java:778)
    "EJBshuju.jar":  at weblogic.appc.compileInput(appc.java:465)
    "EJBshuju.jar":  at weblogic.appc.runBody(appc.java:186)
    "EJBshuju.jar":  at weblogic.utils.compiler.Tool.run(Tool.java:192)
    "EJBshuju.jar":  at weblogic.utils.compiler.Tool.run(Tool.java:147)
    "EJBshuju.jar":  at weblogic.appc.main(appc.java:1037)
    "EJBshuju.jar": [EJB:011019]While reading META-INF/weblogic-cmp-rdbms-jar.xml, the persistence layer of the Entity EJB failed to deploy. The error was:
    "EJBshuju.jar":  Error in descriptor line 37: Error parsing file at line: 37 column: 17.  The content of element type "table-map" must match "(table-name,field-map*,verify-rows?,verify-columns?,optimistic-column?)".. NestedException Message is :Error parsing file at line: 37 column: 17.  The content of element type "table-map" must match "(table-name,field-map*,verify-rows?,verify-columns?,optimistic-column?)".
    "EJBshuju.jar":  at weblogic.ejb20.persistence.PersistenceType.setTypeSpecificFile(PersistenceType.java:505)
    "EJBshuju.jar":  at weblogic.ejb20.persistence.PersistenceType.setupDeployer(PersistenceType.java:417)
    "EJBshuju.jar":  at weblogic.ejb20.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:110)
    "EJBshuju.jar":  at weblogic.ejb20.ejbc.EJB20CMPCompiler.generatePersistenceSources(EJB20CMPCompiler.java:64)
    "EJBshuju.jar":  at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:245)
    "EJBshuju.jar":  at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    "EJBshuju.jar":  at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:387)
    "EJBshuju.jar":  at weblogic.appc.compileEJB(appc.java:809)
    "EJBshuju.jar":  at weblogic.appc.compileEJB(appc.java:778)
    "EJBshuju.jar":  at weblogic.appc.compileInput(appc.java:465)
    "EJBshuju.jar":  at weblogic.appc.runBody(appc.java:186)
    "EJBshuju.jar":  at weblogic.utils.compiler.Tool.run(Tool.java:192)
    "EJBshuju.jar":  at weblogic.utils.compiler.Tool.run(Tool.java:147)
    "EJBshuju.jar":  at weblogic.appc.main(appc.java:1037)
    "EJBshuju.jar": --------------- nested within: ------------------
    "EJBshuju.jar": weblogic.utils.compiler.ToolFailureException: [J2EE:160121]Errors encountered while compiling module 'D:\jbproject\shopping\EJBshuju.jar.jar':
    "EJBshuju.jar": [EJB:011019]While reading META-INF/weblogic-cmp-rdbms-jar.xml, the persistence layer of the Entity EJB failed to deploy. The error was:
    "EJBshuju.jar":  Error in descriptor line 37: Error parsing file at line: 37 column: 17.  The content of element type "table-map" must match "(table-name,field-map*,verify-rows?,verify-columns?,optimistic-column?)"..
    "EJBshuju.jar":  - with nested exception:
    "EJBshuju.jar": [
    "EJBshuju.jar": [EJB:011019]While reading META-INF/weblogic-cmp-rdbms-jar.xml, the persistence layer of the Entity EJB failed to deploy. The error was:
    "EJBshuju.jar":  Error in descriptor line 37: Error parsing file at line: 37 column: 17.  The content of element type "table-map" must match "(table-name,field-map*,verify-rows?,verify-columns?,optimistic-column?)"..
    "EJBshuju.jar": ]
    "EJBshuju.jar":  at weblogic.appc.compileEJB(appc.java:783)
    "EJBshuju.jar":  at weblogic.appc.compileInput(appc.java:465)
    "EJBshuju.jar":  at weblogic.appc.runBody(appc.java:186)
    "EJBshuju.jar":  at weblogic.utils.compiler.Tool.run(Tool.java:192)
    "EJBshuju.jar":  at weblogic.utils.compiler.Tool.run(Tool.java:147)
    "EJBshuju.jar":  at weblogic.appc.main(appc.java:1037)
    "EJBshuju.jar": WebLogic APPC tool invocation errors.