Error creating bean with name ‘application‘: Instantiation of bean failed;

Springboot reports an error. Error creating bean with name ‘application’: instance of bean failed;

Error reason:

Error importing javafx.application.application when importing application package

Modification:

Import the package where the startup class is located

problem solving for your reference

Read More: