Error information:
Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/ web.xml
The project started by springboot reported an error.
Solution:
<!-- Building a WAR without a web.xml file
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version>
</plugin>
-->
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<!--Set to false if you want to build the WAR without the web.xml file.-->
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
Read More:
- [Solved] Configuration Error: deployment source ‘xxx:war‘ is not valid
- Error:Cannot build artifact xxx:war exploded’ because it is included into a circular dependency
- [Solved] The war package Error: The reason why the XSD file could not be found
- How to Solve ERROR: Java 1.7 or later is required to run Apache Drill
- [Solved] Maven Package Error: Error assembling JAR
- [Solved] Artifact spbjh:war exploded: Error during artifact deployment. See server log for details.
- [Solved] Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could [Solved]
- [Solved] Failed to configure a DataSource: ‘url‘ attribute is not specified…bug
- [Solved] Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource
- [Solved] SpringBoot Microservices: Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded dat
- [Solved] jar Run Error: no main manifest attribute
- [Solved] Jar error on Linux: no main manifest attribute
- [Solved] Artifact AServletTestCode:war exploded: Error during artifact deployment. See server log for details
- [Solved] Tomcat Start Project Error: Artifact xxxxxx:war exploded: Error during artifact deployment. See server log
- idea Error: Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource
- [Solved] Error:Maven Resources Compiler: Maven project configuration required for module ‘XX‘ isn‘t available
- Springboot uses Oracle database to report property ‘sqlsessionfactory’ or ‘sqlsessiontemplate’ are required
- [Solved] Redis error: NOAUTH Authentication required.
- [Solved] SpringBoot Project Startup Error: Field userMapper in com.demo.controller.MemberController required a bean of type ‘c