maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <brett.por...@gmail.com>
Subject Re: maven and java:compile
Date Thu, 20 Jan 2005 19:45:50 GMT
I don't think commons-jelly beta-3 was a valid release, and is older
than that in Maven.

Do you have a small sample project that reproduces the problem so we
can test it? If so, please create a bug in JIRA and attach it.

- Brett


On Thu, 20 Jan 2005 09:06:50 -0500, Tate Austin <Tate.Austin@usi.net> wrote:
> >This is usually because commons-jelly-tags-antlr is corrupt. It's
> unfortunate that it is >required for java:compile to run, but that is a
> historical problem.
> >
> >Remove
> ~/.maven/repository/commons-jelly/jars/commons-jelly-tags-antlr-*.jar
> >and try again.
> 
> 
> I don't believe that's the cause, I opened the jar and looked at the
> class files in it.  There is an AntlrTagLibrary present.  I went as far
> as downloading commons-jelly-1.0-beta-3.jar and listing it as a
> dependency.  That indeed has the class in it and I still get the
> ClassNotFoundException.  So to further probe the issue I renamed
> /.maven/repository/commons-jelly/jars/commons-jelly-1.0-beta-3.jar
> To
> .maven/repository/commons-jelly/jars/commons-jelly-tags-antlr-20030211.1
> 43720.jar
> And I still have the same trouble.
> I have noticed that the commons-jelly-1.0-beta-3 I download from ibiblio
> is 304kb, 328kb
> Is the file size of the jar if you get it from apache.  When I open
> either jar the .class files are there.  The commons-jelly-1.0-beta-3
> from iblio has 246 files and the commons-jelly-1.0-beta-3 from Apache
> has 262 files in it.  So there is some difference, but neither works so
> I guess any detail-oriented difference is just academic.
> 
> -----Original Message-----
> From: Brett Porter [mailto:brett.porter@gmail.com]
> Sent: Wednesday, January 19, 2005 4:55 PM
> To: Maven Users List
> Subject: Re: maven and java:compile
> 
> This is usually because commons-jelly-tags-antlr is corrupt. It's
> unfortunate that it is required for java:compile to run, but that is a
> historical problem.
> 
> Remove
> ~/.maven/repository/commons-jelly/jars/commons-jelly-tags-antlr-*.jar
> and try again.
> 
> Cheers,
> Brett
> 
> On Wed, 19 Jan 2005 12:48:59 -0700, Kris Nuttycombe
> <Kris.Nuttycombe@noaa.gov> wrote:
> > I ran into this problem as well, and I think that I ended up resolving
> 
> > it by either changing to the latest version of Maven or manually
> > hacking the relevant plugin's project.xml file to correct a bad
> > groupId. My memory's pretty fuzzy on this one.
> >
> > Sorry I couldn't be more help,
> > Kris
> >
> > Tate Austin wrote:
> >
> > >Okay, I am specing out maven for a project and I install it just as
> > >the documentation tells me to, so then when I attempt a very basic
> > >project.xml with a java:compile I get:
> > >    Could not find the class:
> > >org.apache.commons.jelly.tags.antlr.AntlrTagLibrary
> > >    ..it cascades on with a ClassNotFoundException.
> > >    Jarhoo(http://www.jarhoo.com) does not know of
> > >org.apache.commons.jelly.tags.antlr.AntlrTagLibrary
> > >I have searched the repository and sure enough, Maven doesn't have it
> 
> > >in the repository.  I have seen a few forum posts of others asking
> > >for a resolution to this problem, none of them have answers.  So is
> > >this just a known issue and I need to be waiting/finding an
> > >alternative or is this a common problem with a solution I have just
> not seen?
> > >
> > >
> > >
> >
> > --
> > =====================================================
> > Kris Nuttycombe
> > Associate Scientist
> > Geospatial Data Services Group
> > CIRES, National Geophysical Data Center/NOAA
> > (303) 497-6337
> > Kris.Nuttycombe@noaa.gov
> > =====================================================
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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


Mime
View raw message