当前位置: 技术问答>java相关
我做了EJB,编译时总出现This class should only be located in the ejb-jar file.这倒底是什么原因???个
来源: 互联网 发布时间:2015-05-10
本文导语: test1.ejbgrp": Spaces in the classpath may cause WebLogic EJBC utility to produce fatal compile errors. "test1.ejbgrp": "test1.ejbgrp": "test1.ejbgrp": "test1.ejbgrp": ERROR: Error from ejbc: ERROR: The classes which ejbc generated...
test1.ejbgrp": Spaces in the classpath may cause WebLogic EJBC utility to produce fatal compile errors.
"test1.ejbgrp":
"test1.ejbgrp":
"test1.ejbgrp":
"test1.ejbgrp": ERROR: Error from ejbc: ERROR: The classes which ejbc generated from your home and remote interfaces cannot be loaded. Please ensure that you have set the -d option to a writeable directory.
"test1.ejbgrp": ERROR: ejbc found errors
"test1.ejbgrp":
"test1.ejbgrp":
"test1.ejbgrp":
"test1.ejbgrp": ERROR: Error from ejbc: ERROR: The classes which ejbc generated from your home and remote interfaces cannot be loaded. Please ensure that you have set the -d option to a writeable directory.
"test1.ejbgrp": ERROR: ejbc found errors
|
我也遇到了这个问题,不知所措,
但是要是在本机上用,我到有办法,
选种你的module点击右键,
选属性,进入WEBLOGIC,把USE EJBC TO GENERATE STUB FILE选项去掉就
行了。但只能在本机上用,因为没有生成STUB文件。
但是要是在本机上用,我到有办法,
选种你的module点击右键,
选属性,进入WEBLOGIC,把USE EJBC TO GENERATE STUB FILE选项去掉就
行了。但只能在本机上用,因为没有生成STUB文件。