You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chris Shorrock <ch...@shorrockin.com> on 2003/03/05 15:51:40 UTC
Uberjar Problems
Firstly, let me prefix this message by saying that I'm just now
starting to evaluate mavin as a solution for a future project that I
will be doing and has been more than impressed with it's well thought
out design and feature rich plugins.
In spite of that I seem to be having some problems with the uberjar
plugin (used through maven1.0-beta-8). It appears that whenever I run
this task I get a stack trace which reads:
java.lang.reflect.InvocationTargetException:
java.lang.NoClassDefFoundError:
org/apache/velocity/exception/MethodInvocationException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at
org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.class$(Velocit
yTagLibrary.java:67)
at
org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.<init>(Velocit
yTagLibrary.java:71)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:232)
at
org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1040)
at
org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:64
7)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:320)
at
org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:207)
at
org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:174)
at
org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:111)
at
org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:139)
at
org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager.java:673)
at
org.apache.maven.plugin.PluginManager.prepForGoal(PluginManager.java:475
)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:367
)
at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:360)
at org.apache.maven.cli.App.doMain(App.java:518)
at org.apache.maven.cli.App.main(App.java:1074)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
It appears that this is the only plugin I've tried which doesn't work
and I think i've set it up correctly (by adding a maven.uberjar.main to
my properties file). Is there something else I have to do to get this
to run?
Re: Uberjar Problems
Posted by Pete Kazmier <pe...@kazmier.com>.
>>>>> On Wed, 5 Mar 2003 06:51:40 -0800, Chris Shorrock <ch...@shorrockin.com> said:
Chris> In spite of that I seem to be having some problems with the
Chris> uberjar plugin (used through maven1.0-beta-8). It appears that
Chris> whenever I run this task I get a stack trace which reads:
I fixed this not too long ago, apparently it did not make it in the b8
release. You can either add the dependency yourself, or just install
the latest version of Maven from CVS HEAD.
Thanks,
Pete