紧急支援

azilian 2002-01-24 04:04:27
本人刚学EJB,在用JBUILDER 5 和WEBLOGIC 6做程序时,
系统出错,我不知道如何做下去,请帮帮忙,〕
信息为:

"Cart.ejbgrp": E:\JBuild\jdk1.3\bin\javaw -classpath "D:\JavaTest\Cart\Cart\Cart;E:\bea\lib\weblogic_sp.jar;E:\bea\lib\weblogic.jar;E:\Borland\AppServer\lib\asrt.jar;E:\Borland\AppServer\lib\vbdev.jar;E:\Borland\AppServer\lib\vbjdev.jar;E:\Borland\AppServer\lib\vbjorb.jar;E:\Borland\AppServer\lib\vbsec.jar;E:\Borland\AppServer\lib\migration.jar;E:\JBuild\jdk1.3\lib\dt.jar;E:\JBuild\jdk1.3\lib\tools.jar;E:\JBuild\jdk1.3\jre\lib\i18n.jar;E:\JBuild\jdk1.3\jre\lib\jaws.jar;E:\JBuild\jdk1.3\jre\lib\rt.jar;E:\JBuild\jdk1.3\jre\lib\sunrsasign.jar;E:\JBuild\jdk1.3\demo\jfc\Java2D\Java2Demo.jar" weblogic.ejbc -keepgenerated -compiler E:/JBuild/bin/bcjW D:/JavaTest/Cart/Cart/Cart.jar.jar D:/JavaTest/Cart/Cart/Cart.jar

"Cart.ejbgrp": Spaces in the temporary directory path may cause WebLogic EJBC utility to produce fatal compile errors.
"Cart.ejbgrp": <2001-12-15 下午03时06分43秒> <Error> <EJB> <EJB Deployment: Cart has a class shoppingcart.CartBean which is in the classpath. This class should only be located in the ejb-jar file.>
"Cart.ejbgrp": <2001-12-15 下午03时06分43秒> <Error> <EJB> <EJB Deployment: Cart has a class shoppingcart.CartHome which is in the classpath. This class should only be located in the ejb-jar file.>
"Cart.ejbgrp": <2001-12-15 下午03时06分43秒> <Error> <EJB> <EJB Deployment: Cart has a class shoppingcart.CartRemote which is in the classpath. This class should only be located in the ejb-jar file.>
"Cart.ejbgrp": ERROR: Error from ejbc: Unable to set the transaction attribute for method "purchase". No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your EJB.
"Cart.ejbgrp": ERROR: ejbc found errors
...全文
568 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
gdsean 2002-01-24
  • 打赏
  • 举报
回复
ejb-jar.xml文件没有标注purchase方法

23,409

社区成员

发帖
与我相关
我的任务
社区描述
Java 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧