Idea version: 2020, JDK version: 11
Use Maven to import other springboot modules, modify the JDK and compiler of the module to 11, and run with an error:
(original JDK version of this module: 1.8, spring boot starter parent version 2.5.0 in POM file)
Solution:
Modify the version of spring boot starter parent in POM file to 2.6.7 (or other suitable version) and run successfully.
Possible causes of error:
Version mismatch……
Read More:
- [Solved] Error:(3, 46) java: Program Package org.springframework.context.annotation does not exist
- [Siolved] org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘webMvcObject
- [Solved] org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org
- [Solved] org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class
- [Solved] org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name
- [Solved] org.springframework.beans.factory.UnsatisfiedDependencyException
- [Solved] org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘xxx‘
- [Solved]Org.springframework.beans.factory.nosuchbeandefinitionexception error reported
- [Solved] Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type…
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘testApplicat
- Eureka Build Error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name
- [Solved] SpringBoot Startup Error: org.springframework.beans.factory.UnsatisfiedDependencyException Error creating
- JPA multiple-data source startup error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘t
- Maven error: package org.springframework.context does not exist
- [Solved] Spring set xml Component Scanning error: Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException…
- [Solved] Nacos Serve Local Startup Error: Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCre
- JAVA Error: package org.apache.commons.codec.binary does not exist
- [Integrate the mobile MAS SMS service] SDK start error: NoSuchMethodError: org.springframework.core.annotation.AnnotatedElementUtil
- [Javac compilation exception] javac compilation prompts that the package in jdk cannot be found error: package jdk.internal.org.objectweb.asm does not exist and error: cannot find symbol
- [Solved] IDEA Add maven Project Error: Error:(3,21)java: Package javax.servletdoes not exist