Spring abstract attribute value declare as true will make a class abstract, similar to how we declare a class as abstract using the abstract keyword. Making a class abstract will not allow you to create its object or an instance.
OUTPUT:
Note: Type.java class will give above error on instance creation as Type bean declared as abstract.
Remove below highlighted code red in color will resolve build / code failure.
OUTPUT:
Name = Honda
Specialist Master (Architect) with a passion for cutting-edge technologies like AEM (Adobe Experience Manager) and a proven track record of delivering high-quality software solutions.
📝 Blogs
javadoubts.com © All rights reserved