2021.11.18
When idea starts a new project, a pop-up prompt error is encountered
Error running ‘xxx Application’:Command line is too lang. Shorten command line for Application or aalso for Spring Boot default configuration
Error reason: the springboot project startup command is too long
Solution:
The first method (protest is effective)
Step 1: find the idea/workspace.xml file in the project, and then find <component name="PropertiesComponent"> </component >
tag, as shown below
step2:Add a line to the component tag < property name="dynamic.classpath" value="true"/>
, as shown below
Restart the project.
Read More:
- [Solved] EOS7.6 Error: Init DB failed [Specified key was too long; max key length is 767 bytes…
- MYSQL Index Key Length 1071 – Specified key was too long; max key length is 3072 bytes
- Error 1406 (22001) in MySQL: data too long for column (Fixed)
- MYSQL 5.7 Error Code: 1290. The MySQL server is running with the –secure-file-priv option so it..
- [Solved] Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as
- [Solved] MySQL Notifier Error Cannot Initialize Main Application
- [Solved] Critical: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- [Solved] dbeaver import Error: Error 1840 (HY000) at line 24
- How to Solve mysqld — console command error
- SQL server converts multiple lines into one line, separated by characters
- Zabbix import MySQL database error ERROR 1046 (3D000) at line 1: No database selected
- [Solved] FATAL ERROR: please install the following Perl modules before executing /application/mysql/scripts/mysql_install_db: Data::Dumper
- pymysql Error: File “/usr/local/lib/python2.7/site-packages/PyMySQL-1.0.2-py2.7.egg/pymysql/connections.py”, line 167 SyntaxError: invalid syntax
- [Solved] Running in 64 bit mode with the 32 bit Oracle client installed
- MYSQL reported Fatal error encountered during command execution solution
- [Solved] ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full comm
- Elasticsearch imports MySQL data Error when executing the bin/logstash – f command
- [Solved] MYSQL Command Execute Error: Can ‘t connect to local MySQL server through socket ‘/tmp/mysql.sock ‘(2) “