Denis, thanks for your response.  Several restarts over the past few days
didn't solve my problem.

However, what _did_ solve my problem was copying the contrib library
(tapestry-contrib-3.0.2.jar) over to the Tomcat shared/lib directory!

Regards,
Dan


-----Original Message-----
From: Denis Souza [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 07, 2005 3:29 PM
To: 'Tapestry users'
Subject: RE: Can't find contrib library

Hi Dan,

I don't know what to tell you... The problem simply went away for me. I
don't know exactly how I did it, but I remember that in a moment of
frustration I saved my work and closed everything... my database, jboss,
eclipse. When I started everything again, it was working. I though maybe it
was my version of eclipse that was playing tricks on me since it's beta
(3.1M5a), but now that you've had the same problem I don't know what could
be doing that. I haven't had any more trouble since then. 

Your .application file is correct. I know this isn't very good advice, but
try restarting everything... maybe it's a one-in-a-million bug in one of the
libraries and is solved by a restart.

Denis Souza


-----Original Message-----
From: Dan Stine [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 7 de abril de 2005 15:54
To: 'Tapestry users'
Subject: RE: Can't find contrib library

Hi, folks.

I'm getting a similar problem to the one Denis experienced.  I am running in
Eclipse with the Tomcat plugin from sysdeo.

I receive an exception
javax.servlet.ServletException: Could not parse specification
classpath:/org/apache/tapestry/contrib/Contrib.library.

with root cause
org.apache.tapestry.ApplicationRuntimeException: Could not parse
specification classpath:/org/apache/tapestry/contrib/Contrib.library.

My .application file has the following entry
<library id="contrib"
specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
 
I am using Eclipse 3.0.1, Tomcat 5.0.28, Tapestry 3.0.2, and Spindle 0.0.53.

My .html references to jwcid="@contrib:Choose" are not flagged by Spindle.

Any thoughts on why the contrib library cannot be found?

Thanks,
Dan


-----Original Message-----
From: Shing Hing Man [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 23, 2005 5:52 AM
To: Tapestry users
Subject: Re: Can't find contrib library

I suspect the error is caused by  having the following
in your .application file :

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

If that is the case, try the following instead, 
<library id="contrib"
specification-path="/org/apache/tapestry/contrib/Contrib.library"/>

Shing



--- Denis Souza <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm new to Tapestry so I hope this is not too
> obvious. I'm writing a
> Tapestry app and everything was going fine until I
> tried to use a component
> from the Contrib library. I keep getting the
> following exception when I
> access the page that uses the component:
> 
>  
> 
> 23:16:01,694 ERROR [Engine]
> StandardWrapperValve[internal]:
> Servlet.service() for servlet internal threw
> exception
> 
> org.apache.tapestry.ApplicationRuntimeException:
> Could not parse
> specification
>
classpath:/WEB-INF/lib/org/apache/tapestry/contrib/Contrib.library.
> 
>       at
>
org.apache.tapestry.engine.DefaultSpecificationSource.parseLibrarySpecificat
> ion(DefaultSpecificationSource.java:192)
> 
>  
> 
> ...
> 
>  
> 
> Caused by:
> org.apache.tapestry.util.xml.DocumentParseException:
> Resource at
>
classpath:/WEB-INF/lib/org/apache/tapestry/contrib/Contrib.library
> does not
> exist.
> 
>       at
>
org.apache.tapestry.parse.SpecificationParser.parse(SpecificationParser.java
> :634)
> 
>       at
>
org.apache.tapestry.parse.SpecificationParser.parseLibrarySpecification(Spec
> ificationParser.java:752)
> 
>       at
>
org.apache.tapestry.engine.DefaultSpecificationSource.parseLibrarySpecificat
> ion(DefaultSpecificationSource.java:188)
> 
>       ... 44 more
> 
>  
> 
> I'm importing the library correctly in my
> application file:
> 
>  
> 
> <library id="contrib"
>
specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
> 
>  
> 
> The spindle plugin doesn't complain when I try to
> access any contrib
> components in the html file. And yes, I do have the
> contrib library (and all
> libraries needed by Tapestry) in the WEB-INF/lib
> folder of my .war file. I
> checked the war file, I checked the jars inside the
> war file and it's all
> there. the classes, the library definition.
> 
>  
> 
> I'm currently using JBOSS 4.01 and Tapestry 3.0.2
> 
>  
> 
> Any ideas?
> 
>  
> 
> Denis Souza
> 
>  
> 
> 

Home page :
  http://uk.geocities.com/matmsh/index.html

Send instant messages to your online friends http://uk.messenger.yahoo.com 

---------------------------------------------------------------------
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]




---------------------------------------------------------------------
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