美文网首页
idea运行tomcat时出错,无法写入到文件 \jmxremo

idea运行tomcat时出错,无法写入到文件 \jmxremo

作者: 会灰的大飞狼 | 来源:发表于2022-01-30 13:52 被阅读0次

    idea运行tomcat时出错,无法写入到文件 \jmxremote.access

    image.png

    解决办法:idea快捷方式右键-属性-兼容性-勾选-以管理员身份运行此程序

    1643521349(1).png

    原因是,以前用的是windows server 系统,账户是administrator账户,现在用的是win11,mircosoft账户,我猜测:

    1. 非administrator账户会出现这个问题.
    2. Microsoft账户会出现这个问题.

    我尝试了网上说的

    1. 给jmxremote.access文件用管理员运行的权限,不好使.
    2. 切换到本地账户,我没有尝试.

    相关文章

      网友评论

          本文标题:idea运行tomcat时出错,无法写入到文件 \jmxremo

          本文链接:https://www.haomeiwen.com/subject/ytbqkrtx.html