Announcement Announcement Module
Collapse
No announcement yet.
@Configurable(dependencyCheck=true) on tag gives NameNotFoundException Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • @Configurable(dependencyCheck=true) on tag gives NameNotFoundException

    I have a custom taglib in my web-application with some tags that are @Configurable(dependencyCheck=true) and are using som services.

    Something like this:

    Code:
    @Configurable(dependencyCheck=true)
    public class ImgTag extends TagSupport {
    
    	@Resource
    	private AdministrationService administrationService;
    
    ...
    Now these tags worked fine on Tomcat 5 but now on Tomcat 6 I get the error:
    javax.naming.NameNotFoundException: Name com.dott.web.tags.ImgTag is not bound in this Context

    The tags in the same taglib that are not using @Configurable(dependencyCheck=true) all work fine.

    Please help me out with this one, it is driving me nuts...

    /Johan
Working...
X