You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jasper Huzen <ja...@carthago-ict.NL> on 2006/08/30 08:52:10 UTC

Unable to locate resource library?

I'm trying to build a test project with Tapestry. 

 

I'm just trying to use the Contrib library, but I get the problem with
including (location) the library file.

 

The browser gives the next message:

Unable to locate resource 'org/apache/tapestry/contrib/Contrib.library'
relative to context:/WEB-INF/test.application.

 

My test.application file looks like:

 

<?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 name="test">

      <library id="contrib"
specification-path="org/apache/tapestry/contrib/Contrib.library"/>

      <meta key="org.apache.tapestry.page-class-packages"
value="test.src.pages"/>

</application>

 

The tapestry-contrib-4.0.2.jar file is after deploy found in the /lib
map (where the other Tapestry libs are also found).

 

Any solution?

 

 

 

 

 

 


Re: Unable to locate resource library?

Posted by "hv @ Fashion Content" <in...@fashioncontent.com>.
I usually got that with Tap3 after adding components to my library. I assume 
you haven't changed the tapestry contrib, so
all I can suggest is to restart your Servlet container.

"Jasper Huzen" <ja...@carthago-ict.NL> skrev i en meddelelse 
news:FF769AB4ED31484B95CE84851591F4A74CC6A7@srv001.cartsinds.nl...
I'm trying to build a test project with Tapestry.



I'm just trying to use the Contrib library, but I get the problem with
including (location) the library file.



The browser gives the next message:

Unable to locate resource 'org/apache/tapestry/contrib/Contrib.library'
relative to context:/WEB-INF/test.application.



My test.application file looks like:



<?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 name="test">

      <library id="contrib"
specification-path="org/apache/tapestry/contrib/Contrib.library"/>

      <meta key="org.apache.tapestry.page-class-packages"
value="test.src.pages"/>

</application>



The tapestry-contrib-4.0.2.jar file is after deploy found in the /lib
map (where the other Tapestry libs are also found).



Any solution?

















---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org