java.lang.IllegalArgumentException: Class name must not be empty

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via SpringSource Issue Tracker by Martin Lippert (c), 1 year ago
Class name must not be empty
via SpringSource Issue Tracker by Martin Lippert, 1 year ago
Class name must not be empty
via incubator-uima-user by Marshall Schor, 4 months ago
via uima-user by Frank Enders, 4 months ago
via uima-user by Jaroslaw Cwiklik, 4 months ago
via uima-user by Jaroslaw Cwiklik, 4 months ago
java.lang.IllegalArgumentException: Class name must not be empty
at org.springframework.util.Assert.hasLength(Assert.java:136)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.buildDefaultBeanName(AnnotationBeanNameGenerator.java:144)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.buildDefaultBeanName(AnnotationBeanNameGenerator.java:130)
at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig.registerBean(BeansJavaConfig.java:295)
at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:148)
at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$1.call(BeansJavaConfig.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.