org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 1): Field or property 'keyCreatorBean' cannot be found on object of type 'org.springframework.cache.interceptor.CacheExpressionRootObject'

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

,
Expert tip

You can only access stepExecutionContext within a bean defined in the scope = "step", add "scope = "step"" to your bean declaration.

,
Expert tip

If you're not using an embedded servlet container, try do disable the white label in your application.properties, with "server.error.whitelabel.enabled = false" otherwise check this answer on stackoverflow: https://goo.gl/rG0vKE

Solutions on the web

via Spring JIRA by Juha Syrjälä, 1 year ago
EL1008E:(pos 1): Field or property 'keyCreatorBean' cannot be found on object of type 'org.springframework.cache.interceptor.CacheExpressionRootObject'
via Spring JIRA by Juha Syrjälä, 1 year ago
EL1008E:(pos 1): Field or property 'keyCreatorBean' cannot be found on object of type 'org.springframework.cache.interceptor.CacheExpressionRootObject'
via Stack Overflow by Nathan Hughes
, 2 years ago
EL1008E:(pos 0): Field or property 'jobParameters' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext'
via Spring JIRA by Scott Andrews, 1 year ago
EL1008E:(pos 18): Field or property 'server' cannot be found on object of type 'com.springsource.insight.dashboard.resources.ResourceSummary'
via spring.io by Unknown author, 2 years ago
EL1008E:(pos 18): Field or property 'server' cannot be found on object of type 'com.springsource.insight.dashboard.resources.ResourceSummary'
via Spring JIRA by Scott Andrews, 1 year ago
EL1008E:(pos 18): Field or property 'server' cannot be found on object of type 'com.springsource.insight.dashboard.resources.ResourceSummary'
org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 1): Field or property 'keyCreatorBean' cannot be found on object of type 'org.springframework.cache.interceptor.CacheExpressionRootObject'
at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:208)
at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:72)
at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:52)
at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:93)
at org.springframework.expression.spel.ast.InlineList.getValueInternal(InlineList.java:86)
at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:93)
at org.springframework.cache.interceptor.ExpressionEvaluator.key(ExpressionEvaluator.java:80)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
73 more bugmates

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