Error creating bean with name ‘appController‘: Lookup method resolution failed; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘appController’: Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [cn.speedit.extend.controller.AppController] from ClassLoader [org.springframework.boot.loader.LaunchedURLClassLoader@21b8d17c]

Start jar to report this error, the reason may be as follows:
If you restart idea, clear the idea cache or report this problem, you have to consider whether some invalid packages have been introduced (introduced unused packages)

My problem here is because a useless package is introduced in appController,
insert image description here
just remove this introduction

Later, after testing, the following is the cause of this error
insert image description here

Reference 1

Reference 2

Guess you like

Origin blog.csdn.net/qq_45699990/article/details/128340295