Have you tried just “TYPE1”? I suppose Spring uses reflection to determine the type of “type” anyway, so the fully qualified name is redundant. Spring generally doesn’t subscribe to redundancy!
More Related Contents:
- What is a NoSuchBeanDefinitionException and how do I fix it?
- Spring @Transaction method call by the method within the same class, does not work?
- How to configure port for a Spring Boot application
- How do I use annotations to define different types of relationships in Hibernate 4 and Spring?
- How to fix role in Spring Security?
- Passing multiple variables in @RequestBody to a Spring MVC controller using Ajax
- Spring Boot how to hide passwords in properties file
- Spring MVC – How to return simple String as JSON in Rest Controller
- Circular dependency in Spring
- Why does my Spring Boot App always shutdown immediately after starting?
- How to set base url for rest in spring boot?
- Can I combine a @Query definition with a Specification in a Spring Data JPA repository method?
- How do I populate a drop down with a list using thymeleaf and spring
- Run Spring-boot’s main using IDE
- Enable CORS in Spring 5 Webflux?
- Cannot find the declaration of element ‘beans’
- Spring MVC using tomcat, maven and intelliJ Error [duplicate]
- Spring Boot Actuator without Spring Boot
- Manually call Spring Annotation Validation
- Spring: Make sure a particular bean gets initialized first
- How to exclude *AutoConfiguration classes in Spring Boot JUnit tests?
- Encoded password does not look like BCrypt
- how to get param in method post spring mvc?
- Can I negate (!) a collection of spring profiles?
- @Transactional method calling another method without @Transactional anotation?
- Path variables in Spring WebSockets @SendTo mapping
- Spring 3.1, Hibernate 4, SessionFactory
- Spring Boot – Reading Text File using ResourceLoader
- Spring + AspectJ weaving for java 8 using aspectj-maven-plugin
- hibernate two tables per one entity