java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.springframework.data.cassandra.repository.config.EnableCassandraRepositories.repositoryBaseClass()


Solutions on the web41

Solution icon of stackoverflow
Invalid default: public abstract java.lang.Class org.springframework.data.cassandra.repository.config.EnableCassandraRepositories.repositoryBaseClass()

Solution icon of stackoverflow
Invalid default: public abstract java.lang.Class org.springframework.data.cassandra.repository.config.EnableCassandraRepositories.repositoryBaseClass()

Solution icon of github
Invalid default: public abstract java.lang.Class hilburnlib.registry.Register.TESR()

Solution icon of github
Invalid default: public abstract java.lang.Class org.robolectric.annotation.Config.application()

Solution icon of googlegroups
via Google Groups by Gopikrishna VM, 4 months ago
Invalid default: public abstract java.lang.Class org.skife.jdbi.v2.sqlobject.stringtemplate.UseStringTemplate3StatementLocator.errorListener()

Solution icon of github
via GitHub by vpetrov
, 1 year ago
Invalid default: public abstract java.lang.Class org.robolectric.annotation.Config.application()

Solution icon of github
Invalid default: public abstract java.lang.Class org.springframework.data.jpa.repository.config.EnableJpaRepositories.repositoryFactoryBeanClass()

Solution icon of github
Invalid default: public abstract java.lang.Class org.springframework.data.mongodb.repository.config.EnableMongoRepositories.repositoryBaseClass()

Solution icon of spring
via Spring JIRA by Vadim Marchenko, 1 year ago
Invalid default: public abstract java.lang.Class org.springframework.data.jpa.repository.config.EnableJpaRepositories.repositoryBaseClass()

Solution icon of spring
via Spring JIRA by Vadim Marchenko, 1 year ago
Invalid default: public abstract java.lang.Class org.springframework.data.jpa.repository.config.EnableJpaRepositories.repositoryBaseClass()

Stack trace

java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.springframework.data.cassandra.repository.config.EnableCassandraRepositories.repositoryBaseClass()
	at java.lang.reflect.Method.getDefaultValue(Unknown Source)
	at sun.reflect.annotation.AnnotationType.<init>(Unknown Source)
	at sun.reflect.annotation.AnnotationType.getInstance(Unknown Source)
	at sun.reflect.annotation.AnnotationParser.parseAnnotation2(Unknown Source)
	at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Unknown Source)
	at sun.reflect.annotation.AnnotationParser.parseAnnotations(Unknown Source)
	at java.lang.Class.createAnnotationData(Unknown Source)
	at java.lang.Class.annotationData(Unknown Source)
	at java.lang.Class.getDeclaredAnnotations(Unknown Source)
	at org.springframework.core.annotation.AnnotationUtils.findAnnotation(AnnotationUtils.java:360)
	at org.springframework.core.annotation.AnnotationUtils.findAnnotation(AnnotationUtils.java:338)
	at org.springframework.boot.BeanDefinitionLoader.isComponent(BeanDefinitionLoader.java:271)
	at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:158)
	at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:135)
	at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:127)
	at org.springframework.boot.SpringApplication.load(SpringApplication.java:615)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:957)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:946)
	at com.tarun.application.Application.main(Application.java:14)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
16 more bugmates