This line indicates the problem:
"org.xml.sax.SAXParseException: The prefix "castor" for element
> "castor:generate" is not bound."
This is a namespace problem. If you have a tag like <castor: in your
maven.xml, you
have to declare the tag in a namespace, as in
<project xmlns:castor="maven:castor"
hope this helps.
<
"Graham Leggett" <[EMAIL PROTECTED]> wrote on 02/17/2005 10:44:03 AM:
> Hi all,
>
> While trying to set up the castor plugin (and following the instructions
> for installing a default implementation of it), I try and run maven
> jar:install (castor is a preGoal of this), and get the exception below.
>
> Google doesn't show this error anywhere, so I am stumped. Anyone know
what
> the error message is trying to tell me?
>
> Graham-Leggetts-Computer:~/src/standard/monaco-xml minfrin$ maven -e
> jar:install
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> Fatal Error [line 18, row 34]: The prefix "castor" for element
> "castor:generate" is not bound.
> org.apache.maven.MavenException: Error parsing plugin script
> at
>
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:165)
> at
>
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
> at
>
org.apache.maven.plugin.PluginManager.readMavenXml(PluginManager.java:514)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:580)
> at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:488)
> at org.apache.maven.cli.App.main(App.java:1239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.
> invoke(DelegatingMethodAccessorImpl.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)
> --- Nested Exception ---
> org.xml.sax.SAXParseException: The prefix "castor" for element
> "castor:generate" is not bound.
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
> at javax.xml.parsers.SAXParser.parse(Unknown Source)
> at
>
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:157)
> at
>
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
> at
>
org.apache.maven.plugin.PluginManager.readMavenXml(PluginManager.java:514)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:580)
> at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:488)
> at org.apache.maven.cli.App.main(App.java:1239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.
> invoke(DelegatingMethodAccessorImpl.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)
>
> Regards,
> Graham
> --
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
This message is intended for the recipient only and is not meant to be
forwarded or distributed in any other format. This communication is for
informational purposes only. It is not intended as an offer or solicitation
for the purchase or sale of any financial instrument, or security, or as an
official confirmation of any transaction. Putnam does not accept purchase or
redemptions of securities, instructions, or authorizations that are sent via
e-mail. All market prices, data and other information are not warranted as to
completeness or accuracy and are subject to change without notice. Any
comments or statements made herein do not necessarily reflect those of Putnam,
LLC (DBA Putnam Investments) and its subsidiaries and affiliates. If you are
not the intended recipient of this e-mail, please delete the e-mail.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]