duplicate config file paths found
来源:互联网 发布:小世界网络 netlogo 编辑:程序博客网 时间:2024/05/23 14:35
错误提示如图
我本地的环境是jetty9.2,jdk7x. 出现错误的主要原因是:IntelliJ IDEA中jetty默认加载的module与本地JETTY_HOME/start.ini中加载的module有冲突
解决方案A(忽略JETTY_HOME/start.ini):
1.
点击图1右上角的Configure.打开下图窗口
把所有全中的module全取消掉,改在配置窗口中选择本地的JETTY_HOME/start.ini中加载的module
注意:
取消掉后,本地的JETTY_HOME/start.ini中的module配置会被注释
2.
用一个好的note软件把JETTY_HOME/start.ini中所有–module的值记下来,在jetty Server settings选中
这时再点击Apply就不会报错了,并且可以成功在IntelliJ IDEA中用jetty跑项目
解决方案B(以JETTY_HOME/start.ini为主配置):
如果单独运行jetty可能不需要jmx,用不上选它何用,但IntelliJ IDEA中运用jetty需要jmx.mod,在Configure中选中jmx.mod.
注意
需要IntelliJ IDEA当前运行的用户有权访问JETTY_HOME/start.ini文件,不然会提示start.ini为只读,无法添加jmx.mod
但IntelliJ IDEA配置jetty local的jetty Server settings中就不要选择任何module了
0 0
- duplicate config file paths found
- Intellij IDEA 配置jetty-jmx.xml报错Error:Duplicate config file paths found
- emulator: ERROR: no search paths found in this AVD's configuration. Weird, the AVD's config.ini file
- required file `config.h.in' not found
- Spring config location file not found exception
- Found duplicate file for APK: assets/lineDashTexture.png
- gradle打包:Keystore file xxx not found for signing config
- React Native 日常报错 'config.h' file not found
- config file
- 豆瓣出错Error generating final archive:Found duplicate file for APK:net/oauth/consumer.properties.sample
- Android—Android: Error generating final archive: Found duplicate file for APK: AndroidMainfest.xml问题
- 兔子--Error generating final archive: Found duplicate file for APK: LICENSE
- Android: Error generating final archive: Found duplicate file for APK: AndroidMainfest.xml问题
- MySQL报错:Found option without preceding group in config file
- NO arrays found in config file or automatically setting up logical volume management
- mysql数据库error: Found option without preceding group in config file 问题解决
- AndroidStudio编译error:app:validateReleaseSigning'Keystore file not found for signing config 'release
- 解决Invalid 'log4jConfigLocation' parameter: Log4j config file[F:/*路径*/]not found问题
- Java连接MySQL数据库。。。
- Android6.0改动之其他改变
- 改变屏幕方向
- mongodb master-slave主从复制
- 6.1 对偶表示
- duplicate config file paths found
- 1,Two Sum
- Oracle 表空间详解
- stack类
- 修改oplogsize导致无法启动mongodb
- [阶段一]Java面向对象(1)
- hihocoer 1287 数论一·Miller-Rabin质数测试
- Buct oj 1012
- 网络爬虫