From: Vance K. <va...@us...> - 2007-02-05 13:14:52
|
User: vancek Date: 07/02/05 05:14:51 Modified: andromda-ejb3/src/site/fml faq.fml Log: add MalformedURLException faq Revision Changes Path 1.5 +16 -0 cartridges/andromda-ejb3/src/site/fml/faq.fml Index: faq.fml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/fml/faq.fml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- faq.fml 11 Aug 2006 05:51:08 -0000 1.4 +++ faq.fml 5 Feb 2007 13:14:51 -0000 1.5 @@ -92,5 +92,21 @@ </p> </answer> </faq> + <faq id="MalformedURLException_with_Tests"> + <question>I am getting "java.net.MalformedURLException: no protocol: and" when running the test!</question> + <answer> + <p> + This is a class loader issue where somewhere in the JBoss Microcontainer, the URL referencing your + Maven 2 repository is not encoded and you have spaces in this URL. This is particularly the case + if you are running under a Windows OS platform and your default Maven 2 repository is + C:\Documents and Settings\username\.m2\repository. The problem is the space in the URL! + </p> + <p> + You need to move your repository to a location on your filesystem without spaces and update/add + the <i>settings.xml</i> in your .m2 folder to set the <i>localRepository</i> element to + this new location. Here is the <a href="http://maven.apache.org/settings.html">Maven settings guide</a>. + </p> + </answer> + </faq> </part> </faqs> |