zwwcn

Just another WordPress.com site

value of context variable is not an instance of the component bound to the context variable

Sometimes this is caused by a hot deploy problem and can be rectified by doing a clean redeploy/restart. Other times it may indicate that you have a Seam component name (@Name annotation) the same as a variable name. Check your code carefully to see if your context variable is not already in use as a Seam component name. If it is, change one of them.
Check Factory and Seam Component

 

 

ref: http://jeremygoodell.com/2009/03/26/value-of-context-variable-is-not-an-instance-of-the-component-bound-to-the-context-variable.aspx

2 responses to “value of context variable is not an instance of the component bound to the context variable

  1. Pankaj kalra June 21, 2017 at 7:41 am

    Thanks for your solution its works, i was using same seam component name and var name.

Leave a reply to Pankaj kalra Cancel reply