You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Khabot, Zakaria" <za...@logicacmg.com> on 2007/01/18 19:53:12 UTC

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.

Re: Maven2 and unknown protocol: e

Posted by Wayne Fay <wa...@gmail.com>.
Sounds like something incorrect in your classpath, or settings.xml, or
pom.xml. Too many unknowns to be certain.

Try mvn -X to see the debug output. Perhaps it will provide more
useful information.

Wayne

On 1/18/07, Khabot, Zakaria <za...@logicacmg.com> wrote:
> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org