try to write some nonsence the application xml so it won't render (an
open <bla>), I would suspect it is not being referenced. then check that
tapestry servlet name is the same as the name you gave the .application

Cheers,
Ron


Zha Minjie wrote:
> Hi all:
>  I am trying to use Tree component in contrib library. My project name
> is TestTapestry. I put the contrib jar in my classpath, and I also
> create TestTapestry.application in WEB-INF direcotry:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE application PUBLIC
> "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> <application>
>    <library id="con"
> specification-path="classpath:/org/apache/tapestry/contrib/Contrib.library">
> 
> 
> </application>
> 
> But, when I run the application, it still has:
> Library 'con' not found in application namespace.
> Stack Trace:
> 
>    *
> org.apache.tapestry.engine.Namespace.createNamespace(Namespace.java:290)
>    *
> org.apache.tapestry.engine.Namespace.getChildNamespace(Namespace.java:148)
>    *
> org.apache.tapestry.resolver.AbstractSpecificationResolver.findNamespaceForId(AbstractSpecificationResolver.java:204)
> 
> 
>    *
> org.apache.tapestry.resolver.ComponentSpecificationResolverImpl.resolve(ComponentSpecificationResolverImpl.java:138)
> 
> 
>    *
> $ComponentSpecificationResolver_1100c441ed6.resolve($ComponentSpecificationResolver_1100c441ed6.java)
> 
> 
>    *
> $ComponentSpecificationResolver_1100c441ed7.resolve($ComponentSpecificationResolver_1100c441ed7.java)
> 
> ...
> 
> How can solve this?
> Thanks a lot!
> 
> -------------
> 白云偶尔遮住蓝天,但蓝天永远在白云之上。
> 
> _________________________________________________________________
> 免费下载 MSN Explorer:   http://explorer.msn.com/lccn/ 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to