我编译的第一个ejb.就出错,请高手指教
"simple.jar": Spaces in the temporary directory path may cause WebLogic APPC utility to produce fatal compile errors.
"simple.jar": C:\bea\jdk142_04\bin\javaw -classpath "F:\ejbtest\ejbtest\classes;C:\bea\weblogic81\server\lib\weblogic_sp.jar;C:\bea\weblogic81\server\lib\weblogic.jar;C:\bea\weblogic81\server\lib\webservices.jar;" weblogic.appc -keepgenerated -forceGeneration -compiler C:/bea/jdk142_04/bin/javac F:/ejbtest/ejbtest/simple.jar.jar -output F:/ejbtest/ejbtest/simple.jar
"simple.jar": <2004-12-17 下午05时36分45秒 CST> <Warning> <EJB> <BEA-010054> <EJB Deployment: Count has a class ejb.exe2.CountBean that is in the classpath. This class should only be located in the ejb-jar file.>
"simple.jar": <2004-12-17 下午05时36分46秒 CST> <Warning> <EJB> <BEA-010054> <EJB Deployment: Count has a class ejb.exe2.CountHome that is in the classpath. This class should only be located in the ejb-jar file.>
"simple.jar": <2004-12-17 下午05时36分46秒 CST> <Warning> <EJB> <BEA-010054> <EJB Deployment: Count has a class ejb.exe2.Count that is in the classpath. This class should only be located in the ejb-jar file.>
"simple.jar": [J2EE:160119]Appc is unable to process the file 'F:\ejbtest\ejbtest\simple.jar.jar'. The following error occurred:
"simple.jar": In EJB Count, the home create method ejbCreate(int) did not have a corresponding ejbCreate method in the bean class, or the ejbCreate method in the bean class was not public.
"simple.jar": at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:268)
"simple.jar": at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232)
"simple.jar": at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810)
"simple.jar": at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766)
"simple.jar": at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200)
"simple.jar": at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
"simple.jar": at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:387)
"simple.jar": at weblogic.appc.compileEJB(appc.java:802)
"simple.jar": at weblogic.appc.compileEJB(appc.java:776)
"simple.jar": at weblogic.appc.compileInput(appc.java:463)
"simple.jar": at weblogic.appc.runBody(appc.java:184)
"simple.jar": at weblogic.utils.compiler.Tool.run(Tool.java:146)
"simple.jar": at weblogic.utils.compiler.Tool.run(Tool.java:103)
"simple.jar": at weblogic.appc.main(appc.java:1030)
"simple.jar": weblogic.ejb20.compliance.ComplianceException: In EJB Count, the home create method ejbCreate(int) did not have a corresponding ejbCreate method in the bean class, or the ejbCreate method in the bean class was not public.
"simple.jar": at weblogic.ejb20.compliance.HomeInterfaceChecker.checkCreateMethodsMatchBeanCreates(HomeInterfaceChecker.java:309)
"simple.jar": at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
"simple.jar": at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
"simple.jar": at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
"simple.jar": at java.lang.reflect.Method.invoke(Method.java:324)
"simple.jar": at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:278)
"simple.jar": at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232)
"simple.jar": at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810)
"simple.jar": at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766)
"simple.jar": at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200)
"simple.jar": at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
"simple.jar": at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:387)
"simple.jar": at weblogic.appc.compileEJB(appc.java:802)
"simple.jar": at weblogic.appc.compileEJB(appc.java:776)
"simple.jar": at weblogic.appc.compileInput(appc.java:463)
"simple.jar": at weblogic.appc.runBody(appc.java:184)
"simple.jar": at weblogic.utils.compiler.Tool.run(Tool.java:146)
"simple.jar": at weblogic.utils.compiler.Tool.run(Tool.java:103)
"simple.jar": at weblogic.appc.main(appc.java:1030)
"simple.jar": --------------- nested within: ------------------
"simple.jar": weblogic.utils.compiler.ToolFailureException: [J2EE:160121]Errors encountered while compiling module 'F:\ejbtest\ejbtest\simple.jar.jar':
"simple.jar": In EJB Count, the home create method ejbCreate(int) did not have a corresponding ejbCreate method in the bean class, or the ejbCreate method in the bean class was not public.
"simple.jar": - with nested exception:
"simple.jar": [
"simple.jar": In EJB Count, the home create method ejbCreate(int) did not have a corresponding ejbCreate method in the bean class, or the ejbCreate method in the bean class was not public.
"simple.jar": ]
"simple.jar": at weblogic.appc.compileEJB(appc.java:781)
"simple.jar": at weblogic.appc.compileInput(appc.java:463)
"simple.jar": at weblogic.appc.runBody(appc.java:184)
"simple.jar": at weblogic.utils.compiler.Tool.run(Tool.java:146)
"simple.jar": at weblogic.utils.compiler.Tool.run(Tool.java:103)
"simple.jar": at weblogic.appc.main(appc.java:1030)
在线等