JBoss 上的热部署失败 - “删除方法未实现”

发布于 2024-12-13 10:17:34 字数 316 浏览 5 评论 0原文

当我更改一些 Java 源代码并且我的服务器正在运行时,热部署失败,并给出以下错误消息:

“删除方法未实现”

如何找出这个罪恶的根源?我的项目最近刚刚部署,因此服务器上的源应该是最新的。


该项目使用 JSF 1.2(如果这对您有用的话)。


我将这个项目部署为一场爆炸性的战争。


也不适用于压缩战争。


奇怪的是,在调试模式下也没有解决依赖关系的来源。它们可以从 Eclipse Java 视图中的 jar 中正确读取。

When I'm changing some Java source code and my server is running, hot deploy fails, giving the following error message:

"Delete method not implemented"

How can I find out the root of this evil? My project has been recently deployed, so the sources on the server should be up to date.


The project uses JSF 1.2, if that's of any use for you.


I deploy the project as an exploded war.


Won't work with a zipped war either.


It's strange that the sources of dependencies are also not resolved in the debug mode. They're correctly read from the jar in the Eclipse Java view.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

妳是的陽光 2024-12-20 10:17:34

如果您“触摸”部署目录中的文件(war/ear),这应该会触发部署周期,是否会发生这种情况?

if you 'touch' the file (war/ear) in the deploy directory, this should trigger the deployment cycle, is this happening?

老子叫无熙 2024-12-20 10:17:34

我已经问过类似的问题 一年多前。 我的回答< /a> 也解决了这个问题。

  1. 卸载所有 JDK
  2. 仅在 JDK 上安装
  3. 配置每个程序(Eclipse 和 JBoss)以使用此 JDK。

I've already asked a similar question more than one year ago. And my answer to it solved this problem too.

  1. Uninstall all JDKs
  2. Install only on JDK
  3. Configure every program (Eclipse and JBoss) to use this JDK.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文