IntelliJ idea configuring jetty- jmx.xml report errors Error:Duplicate config file paths found
Note: IntelliJ idea version: 2016.3.7 for Mac, jetty version: jetty 8.2.0.v20160908.
reason:
When updating jetty version to jetty 8.2.0.v20160908
today, in configure
, in addition to the default configuration file, check etc/jetty- jmx.xml
and etc/jetty- ssl.xml
when configuring and saving, idea reports an error: Error:Duplicate config File paths found and cannot be saved.
Process:
Try to untick etc/jetty- ssl.xml
configuration file, the error remains. Instead, uncheck etc/jetty- jmx.xml
, the error disappears. Make sure the error message comes from etc/jetty- jmx.xml
configuration file.
solve:
Open the root path of jetty package and find start.ini
file, open and pull to the bottom, you can see the list of configuration files that have been checked in the graphical interface, and the last two lines are my additional configuration. In the above heap of configurations in these two lines, you can see that the SSL configuration file has been annotated, but the JMX configuration file has not been annotated, so the configuration file is duplicated. Therefore, in the configuration file of idea, uncheck JMX and confirm start.ini There are no duplicate profiles in
.
Read More:
- How to Solve Gradle Error: Plugin with id ‘jetty’ not found.
- [Solved] Read file XXX /pom.xml Error when Maven is configured in idea
- [Solved] Intellij IDEA Error: Command line is too long
- IntelliJ Error: unsescaped XML character [How to Solve]
- [Solved] Intellij IDEA Run Error: Command line is too long
- Springboot Run Error: java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Handler
- [Solved] IntelliJ IDEA Compile Error: Errorjava Compilation failed internal java compiler error
- How to Solve Clickhouse restart error: Cannot obtain value of path from config file…
- ApplicationContext.xml file header error Referenced file contains errors
- Database App.config configurate file Error & Solution
- [Solved] Vite Project jenkins Auto Package Error: failed to load config from ../vite.config.js You installed esbuild on
- Flutter Error: dump failed because resource AndroidManifest.xml not found [How to Solve]
- [Solved] Spring cloud config server can’t parse the YML file of the remote warehouse, and it will also report an error
- Mac Start IDEA Error: Cannot load JVM bundle…Value of IDEA_VM_OPTIONS is (null)
- [Solved] Redis Startup Error: FATAL CONFIG FILE ERROR
- How to Solve dtd Error in MybatisGenerator.xml file
- [Solved] throw new Error(“‘output.filename’ is required, either in config file or as –output-filename”);
- [Solved] kettle Error: Unexpected problem reading shared objects from XML file: null
- [Solved] XML file configuration database connection information logical symbol error
- [Solved] Kafka Start Log Error: WARN Found a corrupted index file due to requirement failed: Corrupt index found