org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'grailsInterceptorMappedInterceptor' is defined

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 Stack Overflow by Ashwin Bn
, 11 months ago
No bean named 'applicationContext-main' is defined
via Stack Overflow by leogl
, 2 years ago
No bean named 'jcrSessionFactory' is defined
via Google Groups by Seance, 2 years ago
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'grailsInterceptorMappedInterceptor' is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:698)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1175)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)
at org.grails.plugins.web.interceptors.InterceptorsGrailsPlugin.onChange(InterceptorsGrailsPlugin.groovy:81)
at org.grails.plugins.DefaultGrailsPlugin.notifyOfEvent(DefaultGrailsPlugin.java:792)
at org.grails.plugins.AbstractGrailsPluginManager.informOfClassChange(AbstractGrailsPluginManager.java:402)
at org.springsource.loaded.TypeRegistry.fireReloadEvent(TypeRegistry.java:2026)
at org.springsource.loaded.ReloadableType.loadNewVersion(ReloadableType.java:444)
at org.springsource.loaded.TypeRegistry.loadNewVersion(TypeRegistry.java:1018)
at org.springsource.loaded.agent.ReloadableFileChangeListener.fileChanged(ReloadableFileChangeListener.java:104)
at org.springsource.loaded.agent.Watcher.determineChangesSince(FileSystemWatcher.java:251)
at org.springsource.loaded.agent.Watcher.run(FileSystemWatcher.java:235)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 4 months ago
128 times, 7 months ago
2 times, 4 months ago
Once, 11 months ago

Write tip

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