本文介绍了com.intellij.javaee.oss.admin.jmx.JmxAdminException:com.intellij.execution.ExecutionException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在IntelliJ IDEA中运行tomcat时,出现以下错误,我搜索了StackOverflow,未发现有关我的异常的任何信息.

When I run tomcat in IntelliJ IDEA, I get this below error, I have searched the StackOverflow, find nothing about my exception.

但是我的神器确实存在:

But my artifact is really exists:

那么,问题出在哪里?

我尝试过:

将以下代码添加到web.xml:

add the below code to web.xml:

<context-param>
    <param-name>kmRootKey</param-name>
    <param-value>km.root</param-value>
</context-param>

但是似乎没用.

推荐答案

问题可能是您没有创建正确的工件.正确的步骤是:

The issue maybe you did not create the correct Artifact.The correct steps are:

创建工件时,您应该这样:

When you create the Artifact, you should like this:

如果在步骤3中选择清空",则可能会出现标题错误.

If you in the step3 choose the Empty, you maybe will get the error of title.

然后在Tomcat配置中,您可以像这样部署工件:

Then in Tomcat Configurations, you can deploy the Artifact like this:

并检查:

重新启动Tomcat.

Restart your Tomcat.

这篇关于com.intellij.javaee.oss.admin.jmx.JmxAdminException:com.intellij.execution.ExecutionException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 13:21