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

Advertisements

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: