从 IntelliJ 启动 tomcat/JBoss 时出现问题

发布于 2024-12-26 17:29:53 字数 405 浏览 0 评论 0原文

我设置了 Intellij IDEA 9.0.4 来启动 tomcat Web 服务器并将我的项目部署到其上。这已经工作了一段时间了,但最近却悄无声息地失败了。当我告诉它运行时,它会根据需要编译内容,告诉我编译成功并在那里停止。任何地方或对话框中都没有打印任何错误或警告,但它不会启动 tomcat,甚至不会切换到运行选项卡。当我在 JBoss 中尝试时,也会发生同样的事情(我以前从未尝试过 - 我最近才第一次尝试设置它)。

我尝试从其startup.bat 文件手动启动tomcat,这似乎工作正常。我也尝试再次下载它,但没有帮助。我使用的是5.5.30版本。 我没有手动更改任何相关设置,但最近我确实经历了几次断电,而且问题似乎从那时起就一直在发生,尽管我不能确定这种相关性。

有谁知道我可以尝试的东西/我可以检查的配置或日志文件以了解为什么会出现这种情况?

I have Intellij IDEA 9.0.4 set up to start a tomcat webserver and deploy my project on to it. This has been working fine for some time but recently it has been failing silently. When I tell it to run, it compiles things as required, tells me compilation is successful and stops there. There are no error or warnings printed anywhere or in dialogs, but it does not start tomcat or even switch to the run tab. The same thing happens when I try it in JBoss (which I have never tried before - I've just recently attempted setting this up for the first time).

I have tried manually launching tomcat from its startup.bat file and this seems to work fine. I also tried downloading it again and that didn't help. I'm using version 5.5.30.
I have not manually changed any relevant settings, but I did suffer a couple of power cuts recently and the problems seem to have been occurring since then, although I can't be sure of that correlation.

Does anyone know of something I could try/a configuration or log file I could check to see why this might be?

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

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

发布评论

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

评论(1

自演自醉 2025-01-02 17:29:53

它看起来像 IDEA 本身的一些错误,可能是由损坏或不正确的配置引起的。 idea.log 文件中很可能存在相应的异常。

如果您移动/删除上面链接中提到的 IDEA 目录以从所有默认设置开始,然后进行普通 Tomcat 安装并在 IDEA 中配置它,然后尝试创建一个新项目并在 Tomcat 下运行它,这可能会有所帮助。

It looks like some bug in IDEA itself, probably caused by broken or incorrect configuration. Most likely there is corresponding exception in idea.log file.

It may help if you move/delete IDEA directories mentioned at the link above to start with all the default settings, then make vanilla Tomcat installation and configure it in IDEA, then try to create a new project and run it under Tomcat.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文