You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Paul Spencer <pa...@mindspring.com> on 2004/03/27 12:46:19 UTC
Getting "java.lang.NoClassDefFoundError: antlr/TokenStreamException"
running checkstype report in RC2
I am getting an "java.lang.NoClassDefFoundError:
antlr/TokenStreamException" from the checkstyle report in Maven 1.0 RC2.
Maven 1.0 RC1 work correctly.
I am using the following command:
maven -e clean checkstyle-report
***
* Output from Maven
***
C:\cvs_apache\jakarta-jetspeed-2\commons>maven -e clean checkstyle:report
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc2
Attempting to download pluto-1.0-SNAPSHOT.jar.
build:start:
clean:clean:
[delete] Deleting directory
C:\cvs_apache\jakarta-jetspeed-2\commons\target
clean:
checkstyle:init:
checkstyle:report:
checkstyle:run:
[mkdir] Created dir: C:\cvs_apache\jakarta-jetspeed-2\commons\target
[echo] Using
C:\cvs_apache\jakarta-jetspeed-2\commons/../checkstyle.xml for
checkstyle ...
BUILD FAILED
java.lang.NoClassDefFoundError: antlr/TokenStreamException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:217)
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.createObject(Pac
kageObjectFactory.java:114)
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.doMakeObject(Pac
kageObjectFactory.java:94)
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(Pac
kageObjectFactory.java:149)
at
com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:189)
at
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(Automatic
Bean.java:203)
at
com.puppycrawl.tools.checkstyle.CheckStyleTask.createChecker(CheckSty
leTask.java:310)
at
com.puppycrawl.tools.checkstyle.CheckStyleTask.execute(CheckStyleTask
.java:259)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:78)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:99)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
nGoalTag.java:126)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:78)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:99)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
531)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:466)
at org.apache.maven.cli.App.main(App.java:1117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
File......
file:/c:/maven_repo/1.0-rc2/plugins/maven-checkstyle-plugin-2.3/plugi
n.jelly
Element... ant:checkstyle
Line...... 133
Column.... 63
antlr/TokenStreamException
Total time: 4 seconds
Finished at: Sat Mar 27 06:38:35 EST 2004
Paul Spencer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: site:deploy goal fails?
Posted by Emmanuel Venisse <em...@venisse.net>.
How do you set up your maven.ssh.executable property?
Emmanuel
----- Original Message -----
From: "Ian Black" <ib...@pacemetrics.com>
To: <pa...@mindspring.com>; "Maven Users List"
<us...@maven.apache.org>
Sent: Saturday, March 27, 2004 6:34 PM
Subject: RE: site:deploy goal fails?
> Okay, set maven.ssh.executable to the location of ttssh.exe in my
> build.properties file and now I'm getting this error...
>
> BUILD FAILED
> null:95:56: <exec> Execute failed: java.io.IOException: CreateProcess:
> "C:Program FilesTTERMPRO tssh.exe" http://blah -1 ian "mkdir -p
> http://blah error=123
>
> Any ideas?
>
> Thanks again,
>
> Ian.
>
>
>
> -----Original Message-----
> From: Paul Spencer [mailto:paulspencer@mindspring.com]
> Sent: 27 March 2004 16:06
> To: Maven Users List
> Subject: Re: site:deploy goal fails?
>
>
> Ian,
> You need set maven.ssh.executable in build.properties
>
> See http://maven.apache.org/reference/plugins/site/properties.html
>
> Paul Spencer
>
> Ian Black wrote:
>
> > Hi everyone,
> >
> > I'm having a problem getting my website to deploy onto my apache
webserver
> > on my local.
> >
> > According to this post
> >
>
here...http://nagoya.apache.org/eyebrowse/ReadMsg?listName=users@maven.apach
> > e.org&msgId=809146
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ------------------------------------
> >
> >>Hi everybody!
> >>
> >>I'm trying to use the site:deploy command, but get this exception:
> >>
> >>Root cause
> >>Execute failed: java.io.IOException: CreateProcess: ssh lukas -l
tmeggerl
> >>"mkdir -p lukas/javaprojects" error=2\
> >
> >
> > error 2 is file not found which implies that ssh is not on the command
> line.
> >
>
> --------------------------------------------------------------------------
> --
> > ------------------------------------
> >
> >
> > ...the problem is that ssh is not in the path, right?
> >
> > So, I have the very same error and I put ssh into the path (TTSH being
> used)
> > and same error. Am I missing something or is there something else going
on
> > here?
> >
> > Many thanks for any help,
> >
> > Ian.
> >
> >
> >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004
>
>
> ---------------------------------------------------------------------
> 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
RE: site:deploy goal fails?
Posted by Ian Black <ib...@pacemetrics.com>.
Okay, set maven.ssh.executable to the location of ttssh.exe in my
build.properties file and now I'm getting this error...
BUILD FAILED
null:95:56: <exec> Execute failed: java.io.IOException: CreateProcess:
"C:Program FilesTTERMPRO tssh.exe" http://blah -1 ian "mkdir -p
http://blah error=123
Any ideas?
Thanks again,
Ian.
-----Original Message-----
From: Paul Spencer [mailto:paulspencer@mindspring.com]
Sent: 27 March 2004 16:06
To: Maven Users List
Subject: Re: site:deploy goal fails?
Ian,
You need set maven.ssh.executable in build.properties
See http://maven.apache.org/reference/plugins/site/properties.html
Paul Spencer
Ian Black wrote:
> Hi everyone,
>
> I'm having a problem getting my website to deploy onto my apache webserver
> on my local.
>
> According to this post
>
here...http://nagoya.apache.org/eyebrowse/ReadMsg?listName=users@maven.apach
> e.org&msgId=809146
>
>
> --------------------------------------------------------------------------
--
> ------------------------------------
>
>>Hi everybody!
>>
>>I'm trying to use the site:deploy command, but get this exception:
>>
>>Root cause
>>Execute failed: java.io.IOException: CreateProcess: ssh lukas -l tmeggerl
>>"mkdir -p lukas/javaprojects" error=2\
>
>
> error 2 is file not found which implies that ssh is not on the command
line.
>
> --------------------------------------------------------------------------
--
> ------------------------------------
>
>
> ...the problem is that ssh is not in the path, right?
>
> So, I have the very same error and I put ssh into the path (TTSH being
used)
> and same error. Am I missing something or is there something else going on
> here?
>
> Many thanks for any help,
>
> Ian.
>
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: site:deploy goal fails?
Posted by Ian Black <ib...@pacemetrics.com>.
Thanks Paul :)
-----Original Message-----
From: Paul Spencer [mailto:paulspencer@mindspring.com]
Sent: 27 March 2004 16:06
To: Maven Users List
Subject: Re: site:deploy goal fails?
Ian,
You need set maven.ssh.executable in build.properties
See http://maven.apache.org/reference/plugins/site/properties.html
Paul Spencer
Ian Black wrote:
> Hi everyone,
>
> I'm having a problem getting my website to deploy onto my apache webserver
> on my local.
>
> According to this post
>
here...http://nagoya.apache.org/eyebrowse/ReadMsg?listName=users@maven.apach
> e.org&msgId=809146
>
>
> --------------------------------------------------------------------------
--
> ------------------------------------
>
>>Hi everybody!
>>
>>I'm trying to use the site:deploy command, but get this exception:
>>
>>Root cause
>>Execute failed: java.io.IOException: CreateProcess: ssh lukas -l tmeggerl
>>"mkdir -p lukas/javaprojects" error=2\
>
>
> error 2 is file not found which implies that ssh is not on the command
line.
>
> --------------------------------------------------------------------------
--
> ------------------------------------
>
>
> ...the problem is that ssh is not in the path, right?
>
> So, I have the very same error and I put ssh into the path (TTSH being
used)
> and same error. Am I missing something or is there something else going on
> here?
>
> Many thanks for any help,
>
> Ian.
>
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: site:deploy goal fails?
Posted by Paul Spencer <pa...@mindspring.com>.
Ian,
You need set maven.ssh.executable in build.properties
See http://maven.apache.org/reference/plugins/site/properties.html
Paul Spencer
Ian Black wrote:
> Hi everyone,
>
> I'm having a problem getting my website to deploy onto my apache webserver
> on my local.
>
> According to this post
> here...http://nagoya.apache.org/eyebrowse/ReadMsg?listName=users@maven.apach
> e.org&msgId=809146
>
>
> ----------------------------------------------------------------------------
> ------------------------------------
>
>>Hi everybody!
>>
>>I'm trying to use the site:deploy command, but get this exception:
>>
>>Root cause
>>Execute failed: java.io.IOException: CreateProcess: ssh lukas -l tmeggerl
>>"mkdir -p lukas/javaprojects" error=2\
>
>
> error 2 is file not found which implies that ssh is not on the command line.
>
> ----------------------------------------------------------------------------
> ------------------------------------
>
>
> ...the problem is that ssh is not in the path, right?
>
> So, I have the very same error and I put ssh into the path (TTSH being used)
> and same error. Am I missing something or is there something else going on
> here?
>
> Many thanks for any help,
>
> Ian.
>
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
site:deploy goal fails?
Posted by Ian Black <ib...@pacemetrics.com>.
Hi everyone,
I'm having a problem getting my website to deploy onto my apache webserver
on my local.
According to this post
here...http://nagoya.apache.org/eyebrowse/ReadMsg?listName=users@maven.apach
e.org&msgId=809146
----------------------------------------------------------------------------
------------------------------------
> Hi everybody!
>
> I'm trying to use the site:deploy command, but get this exception:
>
> Root cause
> Execute failed: java.io.IOException: CreateProcess: ssh lukas -l tmeggerl
> "mkdir -p lukas/javaprojects" error=2\
error 2 is file not found which implies that ssh is not on the command line.
----------------------------------------------------------------------------
------------------------------------
...the problem is that ssh is not in the path, right?
So, I have the very same error and I put ssh into the path (TTSH being used)
and same error. Am I missing something or is there something else going on
here?
Many thanks for any help,
Ian.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.639 / Virus Database: 408 - Release Date: 22/03/2004