[solved] RE: Unable to locate resource library?

2006-08-30 Thread Jasper Huzen

I fixed my problem.

I changed the library path to and now it is working.

library id=contrib
specification-path=classpath:/org/apache/tapestry/contrib/Contrib.libra
ry/



-Original Message-
From: Jasper Huzen 
Sent: woensdag 30 augustus 2006 8:52
To: users@tapestry.apache.org
Subject: 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?

 

 

 

 

 

 



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



Re: Unable to locate resource library?

2006-08-30 Thread hv @ Fashion Content
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 [EMAIL PROTECTED] skrev i en meddelelse 
news:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]