Ok, got stuck at the mvn jar which gave me the output:

[INFO] Invalid task 'jar': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal

And due to my utter ignorance in Maven associated with the pressing urgency to get a class serialized, I just downgraded the castor version to 1.3.1 at least until the 1.3.2 is fixed.


Best regards,

*João Antunes*


MsC in Communication Networks Engineering <https://fenix.ist.utl.pt/cursos/merc?locale=en_EN> at IST <http://www.ist.utl.pt/en/about-IST/>

Web: http://web.ist.utl.pt/~joao.a.p.antunes <http://web.ist.utl.pt/%7Ejoao.a.p.antunes>

E-mail: [email protected] <mailto:[email protected]>

LinkedIn: http://pt.linkedin.com/in/joaoapantunes


*Instituto Superior Técnico - Centro de Informática/Direcção de Serviços de Informação*

Software Engineer - FénixEDU team


*Proud associate of **G3SI* <http://g3si.netai.net/index.php?lang=en>


Em 16/05/11 11:12, João Antunes escreveu:
Hi!

I'm having trouble using the Castor lib as I get the following error (when using castor inside a struts webapp):

--
Caused by: java.util.MissingResourceException: Can't find bundle for base name ValidationMessages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1539)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1278)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:805)
    at org.exolab.castor.xml.Validator.<clinit>(Validator.java:78)
--

And I do have the following Jars on my lib folder:

castor-1.3.2-anttasks.jar castor-1.3.2-commons.jar castor-1.3.2-ddlgen.jar castor-1.3.2-xml.jar castor-1.3.2-codegen.jar castor-1.3.2-core.jar castor-1.3.2.jar castor-1.3.2-xml-schema.jar castor-1.3.2-jdo.jar

Which after extracting them I could not find any file ValidationMessages* file, as executing this find . -iname validation* only got these results:
./org/exolab/castor/xml/validators/ValidationUtils.class
./org/exolab/castor/xml/ValidationContext.class
./org/exolab/castor/xml/ValidationException.class

The file does exist in the source code though, I'm trying to build and to remake the Jar to see what is the problem, I'll post info if I get somewhere.

--

*João Antunes*


MsC in Communication Networks Engineering <https://fenix.ist.utl.pt/cursos/merc?locale=en_EN> at IST <http://www.ist.utl.pt/en/about-IST/>

Web: http://web.ist.utl.pt/~joao.a.p.antunes <http://web.ist.utl.pt/%7Ejoao.a.p.antunes>

E-mail: [email protected] <mailto:[email protected]>

LinkedIn: http://pt.linkedin.com/in/joaoapantunes


*Instituto Superior Técnico - Centro de Informática/Direcção de Serviços de Informação*

Software Engineer - FénixEDU team


*Proud associate of **G3SI* <http://g3si.netai.net/index.php?lang=en>

<<attachment: joao_antunes.vcf>>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to