maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.-Leander Reimer" <l.rei...@adaptions.de>
Subject Re: [java] Eclipse Plugin Problem
Date Mon, 10 May 2004 13:24:37 GMT
Thanks James,

that did it! I upgraded my cactus plugin to the non-dev 1.6 version and 
now the eclipse plugin works.

Cheers!

Leander


James.Shute@barclayscapital.com schrieb:

> I had this problem and tracked it down to the cactus plugin having a missing
> dependency.  The version of catcus mine was pulling down was
> cactus-maven-1.6dev-20040226.jar
> 
> So I took the pragmatic approach of editing the project.xml in my copy of
> that jar and adding
> 
>    <dependency>
>      <groupId>commons-jelly</groupId>
>      <artifactId>commons-jelly-tags-xml</artifactId>
>      <version>20030211.142705</version>
>    </dependency>    
> 
> 
> Though looking on ibiblio there is now a non-dev 1.6 version of the cactus
> plugin (dated 8th May) so I guess (hope!) that it does contain the correct
> dependency list
> 
> James
> 
> 
> -----Original Message-----
> From: M.-Leander Reimer [mailto:l.reimer@adaptions.de] 
> Sent: 10 May 2004 14:05
> To: Maven Users List
> Subject: Re: [java] Eclipse Plugin Problem
> 
> 
> Hi Andreas,
> 
> I tried both. Deleted the .maven folder before upgrading, and tried to 
> delete the cache files also. Didn't help. Even tried to go back for 
> Eclipse plugin version 1.5, same error. Tried it with several other 
> projects that worked before, same error.
> 
> I think the root exception is:
> 
> Could not create taglib or URI: jelly:xml tag name: doctype
> java.lang.ClassNotFoundException: xml
> 
> ...
> 
> Underlying exception: java.lang.ClassNotFoundException: xml
> java.lang.ClassNotFoundException: xml
> 
> which is strange because "xml" doesn't look like a proper class to me 
> anyway, and I can't find the place in the plugin's jelly script where 
> jelly:xml is used.
> 
> Don't know, better go back to RC1 then. Thanks anyway.
> 
> Leander
> 
> 
> 
>>One experience I made with upgrading from RC1 to RC2 was that I had to
>>delete
>>all files under my .maven folder in the user.home directory.  That 
>>usually sovled
>>user problems.
>>
>>Sometimes a less radical solution seems to help: delete all cache 
>>files
>>under
>>.maven/plugins.  But in case of the upgrade problem you might need to 
>>remove
>>all the files.
>>
>>Andreas
>>
>>
>>M.-Leander Reimer wrote:
>>
>>
>>>Hi there,
>>>
>>>I just upgraded to Maven RC2, and my project seems to work fine. The
>>>only thing that doesn't work is the Eclipse Plugin (1.6). I get the 
>>>following Exception:
>>>
>>>Could not find the class: 
>>>org.apache.commons.jelly.tags.xml.XMLTagLibrary
>>>java.lang.ClassNotFoundException: 
>>>org.apache.commons.jelly.tags.xml.XMLTagLibrary
>>>        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>>>        at java.security.AccessController.doPrivileged(Native Method)
>>>        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>>>        at
>>>.....
>>>Could not create taglib or URI: jelly:xml tag name: doctype
>>>java.lang.ClassNotFoundException: xml
>>>        at 
>>>org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParse
>>>r.java:1234)
>>>        at 
>>>org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:10
>>>44)
>>>        at 
>>>org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java
>>>:647)
>>>.....
>>>
>>>Strange is, that I have a commons-jelly-tags-xml-20030211.142705.jar
>>>with the "missing" class in my repository.
>>>
>>>Any ideas??
>>>
>>>Thanks,
>>>Leander
>>>
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
> 
> 
> 


-- 

GnuPG Fingerprint = FC88 7806 111C 9DD5 1136 B311 EF00 4F8F A6D1 DC79

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


Mime
View raw message