报错了怎么办,兄弟

eserbel 2004-01-15 08:33:47
"TEST.jar": <2004-1-15 上午08时24分43秒 CST> <Warning> <EJB> <BEA-010054> <EJB Deployment: SessBean has a class com.miaoq.userjmssenbdb.SessbeanBean that is in the classpath. This class should only be located in the ejb-jar file.>
...全文
41 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
stonecsdn 2004-01-15
  • 打赏
  • 举报
回复
最简单的方法就是重新建立一个工程。
你的问题可能是你的当前classpath包含的路径中含有和你的ejb-jar中相同的java文件
Leemaasn 2004-01-15
  • 打赏
  • 举报
回复
楼主是不是ClassPath里设置的路径和你的ejb-jar file里定义的路径不同?
eserbel 2004-01-15
  • 打赏
  • 举报
回复
怎么设置路径啊,gong1
youthy_yy 2004-01-15
  • 打赏
  • 举报
回复
SessBean has a class com.miaoq.userjmssenbdb.SessbeanBean that is in the classpath. This class should only be located in the ejb-jar file
gong1 2004-01-15
  • 打赏
  • 举报
回复
好像是路径不对.
^_^
gong1 2004-01-15
  • 打赏
  • 举报
回复
好像是路径不对.
^_^

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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