Using idea development, Maven build error:
Error assembling WAR: Problem creating war: Execution exception (and the archive is probably corrupt but I could not delete it)
The cause of the error is that the memory of the JVM is not enough, so it’s better to configure it. The steps are as follows:
So we modify Maven’s JVM parameters directly in idea,
file-> setting-> Build,Execution,Deployment-> Maven-> Runner
Set the JVM parameter in VM option column, – xmx1g – XX: maxmetaspacesize = 128M
After setting, click Install on the right side to start the compilation, the parameter takes effect, and the maximum heap memory becomes 1g
0
div>
Read More:
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on pr
- Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
- Error 404:SRVE0190E: File not found: index.action when websphere publishes the project war package
- Artifact hello2:war: Error during artifact deployment.
- Artifact xxx:war exploded: Error during artifact deployment. See server log for details.
- How to Fix Failed to start service jboss.deployment.unit.”jboss-as-bmt.war”.INSTALL: org.jboss.msc.service.S
- Solved: elasticsearch error: exception [type = search]_ phase_ execution_ exception, reason=all shards failed]
- SystemError: execution of module h5py.utils raised unreported exception
- Springboot startup exception: error creating bean with name ‘permissioncontroller’
- Perfect solution Error:Execution failed for task ‘: APP:transformClassesWithDexForDebug ‘… Problem
- How to Fix error performing isolated work; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarE
- Solution to the problem of selecting node sass when creating vue-cli3
- Android studio reported an error in the release package: Lint found fatal errors while assembling a release target
- Spring AOP is an error creating bean with name
- How to solve the problem of creating notebook failed
- Solution to the problem of spring boot running test class error creating bean with name ‘serverendpoint exporter’ defined
- tf.gradients is not supported when eager execution is enabled. Use tf.GradientTape instead.
- An error is reported when springboot starts: error creating bean with name ‘XXXX’
- Solve the problem that target code version of Maven project sub module in IntelliJ idea is always rolled back
- How to solve the problem of artifact contains illegal characters when creating springboot project with idea