Spring abstract attribute

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

Imran Khan

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.

  • Languages: Java, Python
  • Frameworks: J2EE, Spring, Struts 2.0, Hibernate
  • Web Technologies: React, HTML, CSS
  • Analytics: Adobe Analytics
  • Tools & Technologies: IntelliJ, JIRA

🌐 LinkedIn

📝 Blogs

📧 Imran Khan