1. Error in pom.xml
Similar: Missing an artifact org. Springframework: spring – JDBC: jar: 3.2.4. RELEASE such errors, suggest a jar package.
I’ve run into this problem several times before. Every time I solve it, I forget it the next time. Make a note of it.
Force Update of Snapshots/Releases: Force Update of Snapshots/Releases: Force Update of Snapshots/Releases: Force Update of Snapshots/Releases: Force Update of Snapshots/Releases
SpringBoot error -Due to missing ServletWebServerFactory
Update 2019.6.24
Similar: Missing an artifact org. Springframework: spring – JDBC: jar: 3.2.4. RELEASE such errors, suggest a jar package.
I’ve run into this problem several times before. Every time I solve it, I forget it the next time. Make a note of it.
Force Update of Snapshots/Releases: Force Update of Snapshots/Releases: Force Update of Snapshots/Releases: Force Update of Snapshots/Releases: Force Update of Snapshots/Releases
SpringBoot error -Due to missing ServletWebServerFactory
Update 2019.6.24
2019-06-24 14:09:15.039 INFO 17356 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration' of type [org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration$$EnhancerBySpringCGLIB$$6d407ba3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-06-24 14:09:15.592 WARN 17356 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
ServletWebServerFactory
ass references o>pache.catalina
package>e,
It then looks at the JAR package that has been introduced and finds that there is no such package.
To solve this problem, add the following dependencies:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
tomcat-embed
bed embed embed embed embedtomcat-embed
embed embed embed embed embed embed I did not introduce the spring-boot-starter-web
pendency, which resulted in the incorrect introduction of Tomcat related packages, rather than a dependency conflict or other issue.
3, to be continued…
If you run into problems with Maven errors in the future, you will remember them here.
Read More:
- About maven Pom.xml Personal solutions to reporting errors!!!
- New Maven project– pom.xml report errors
- Import Maven project pom.xml File error
- Error in pom.xml file of sub module of Maven aggregation project
- Maven project pom.xml The solution of error report in execution of
- The spring boot project was first created, pom.xml The error is Maven configuration problem. How to solve it?
- Maven of springboot project pom.xml Unknown error in the first line of the file
- Research on Maven management of Java project pom.xml The jar package error is reported, but the project is running normally
- Application of IntelliJ idea in Maven project pom.xml Add dependency
- Where’s Maven pom.xml Configure aliyun warehouse in
- Error in the project tag in the POM file of Maven project: failure to transfer
- Solution of maven pom.xml dependency invalidation in IntelliJ
- [save] Maven’s pom.xml Labeled xsi:schemaLocation Error report
- The import Maven project appears http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Solutions
- Idea2020.2 encountered pom.xml The problem of file error report in Maven plug-in tomcat7
- Error in STS importing POM file of Maven project
- Solutions to the problem of “Autowired cannot be resolved to a type” in eclipse Maven project
- pom.xml Depending on the error report, the problem of missing artifact XXX is solved
- Error in Maven packaging web project: webxml attribute is required (or pre existing WEB-INF)/ web.xml if executing in update)
- Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project