用JBuilder7+WebLogic开发下列的错误 请问怎么办?

WeiXuBin 2002-12-09 05:40:40
"Trader.ejbgrpx": Spaces in the temporary directory path may cause WebLogic EJBC utility to produce fatal compile errors.
"Trader.ejbgrpx": Spaces in the classpath may cause WebLogic EJBC utility to produce fatal compile errors.
"Trader.ejbgrpx": D:\Program Files\JBuilder7\BEA\jdk131_03\bin\javaw -classpath "D:\Program Files\JBuilder7\BEA\weblogic700\server\lib\weblogic.jar;" weblogic.ejbc -keepgenerated -compiler "D:/Program Files/JBuilder7/bin/bcjW" D:/JBuilder/EJB/Trader/Trader/Trader.jar.jar D:/JBuilder/EJB/Trader/Trader/Trader.jar

"Trader.ejbgrpx": ERROR: Error from ejbc:
"Trader.ejbgrpx": In EJB Trader, the return type for method GetTotalPrice() in the remote interface does not match the return type in the bean class.
"Trader.ejbgrpx": In EJB Trader, the return type for method Purchase() in the remote interface does not match the return type in the bean class.
"Trader.ejbgrpx": ERROR: ejbc found errors
...全文
30 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
kexsong 2002-12-10
  • 打赏
  • 举报
回复
第一:"Trader.ejbgrpx": Spaces in the temporary directory path may cause WebLogic EJBC utility to produce fatal compile errors.
"Trader.ejbgrpx": Spaces in the classpath may cause WebLogic EJBC utility to produce fatal compile errors.这是警告:说你的临时路径带有空格,但是一般不会影响开发的;
第二:在hone接口中的方法,要么返回远程接口,要么返回Collection
mefaintII 2002-12-10
  • 打赏
  • 举报
回复
第一个问题:你把系统的临时目录改成c:\temp吧
不要那个c:\document ....\了,有空格麻烦

Trader.ejbgrpx": In EJB Trader, the return type for method GetTotalPrice() in the remote interface does not match the return type in the bean class

返回类型不匹配,你的remote与bean类相应的方法返回类型不匹配
bcdavid 2002-12-09
  • 打赏
  • 举报
回复
嗯, 这个只是报提醒,不是报错.不会影响什么的
icjq 2002-12-09
  • 打赏
  • 举报
回复
你系统的环境变量中设置的临时文件夹TEMP TEM路径含空格,你把它们换成路径中不含空格的文件夹就可以了

1,237

社区成员

发帖
与我相关
我的任务
社区描述
企业软件 中间件技术
社区管理员
  • 中间件
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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