It seems like your maven installation at E:\Softs\maven-2.0.4 is not 2.0.4, but 1.0.2. The reason why is Maven 2 uses classworlds to load some classes instead of Forehead, which is not the case as shown in the stack trace below. Besides Maven 2 does not come with endorsed dir under lib. Also the default local repository for Maven 2 is located by default at <user home>/.m2/repository. Hope it helps. Dário
-----Original Message----- From: Khabot, Zakaria [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 18 de janeiro de 2007 16:53 To: Maven Users List Subject: Maven2 and unknown protocol: e Hi all, I was using Maven 1.0.2 and it works fine. I migrated to maven 2.0.4 but when I try to execute a goal I have this exception: File or url 'E:\Softs\maven-2.0.4/lib/endorsed/xml-apis-1.0.b2.jar' could not be found java.net.MalformedURLException: unknown protocol: e at java.net.URL.<init>(URL.java:574) at java.net.URL.<init>(URL.java:464) at java.net.URL.<init>(URL.java:413) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:403) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:579) I specified that my repo is user\.maven\repository The jar exists in this repo but why is he searching in 'E:\Softs\maven-2.0.4/lib Thanks in advance. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
