Tapestry Issue: Obtained resource by @Inject is NULL

Issue:

When you inject some resources by @Inject Annotation in Tapestry Page or other components, you may find that the obtained instance are always NULL.

 

Solution:

Please confirm your @Inject annotation is imported from org.apache.tapestry5.ioc.annotations.Inject, not from javax.inject or other package.

你可能感兴趣的:(Tapestry Issue: Obtained resource by @Inject is NULL)