You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Edward J. Yoon" <ed...@udanax.org> on 2008/04/23 09:47:39 UTC

java.net.URISyntaxException on windows.

My project throws URISyntaxException.

Embedded error: java.net.URISyntaxException: Illegal character in
opaque part at index 22: jar:file:/C:/Documents and
Settings/Administrator/.m2/repository/com/nhn/common-community/1.0.25/c
mbedded error: java.net.URISyntaxException: Illegal character in
opaque part at index 22: jar:file:/C:/Documents and
Settings/Administrator/.m2/repository/com/nhn/common-community/1.0.25/common-community-1.0.25.jar!/com/naver/common/community/dao/AbstractExSqlMapDAO$1.class

In this current, I just recommend to use the local settings.

<settings>
  <localRepository>C:\Documents~1\.m2\repository\</localRepository>
</settings>

Is there any solution for avoid this issue?

Thanks.
-- 
B. Regards,
Edward J. Yoon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: java.net.URISyntaxException on windows.

Posted by Wayne Fay <wa...@gmail.com>.
When are you seeing this error? Can you provide more of the stack
trace, or possibly the entire execution trace (mvn -X) by pasting it
to www.pastebin.org and sending us the URL so someone can review it?

Wayne

On 4/23/08, Edward J. Yoon <ed...@udanax.org> wrote:
> Thank you for your reply.
>
> Exception throwed by white space. So, i just recommend to set the
> local repository path of DOS-style. However, I'm trying to find other
> solution; too many (developers's local setting/project codes) should
> be changed.
> Is there any solution for avoid this issue using pom.xml settings?
>
> Thanks,
> Edward.
>
> On Wed, Apr 23, 2008 at 4:56 PM, Jan Fredrik Wedén <jf...@gmail.com> wrote:
> >
> > On Wed, Apr 23, 2008 at 9:47 AM, Edward J. Yoon <ed...@udanax.org> wrote:
> > > My project throws URISyntaxException.
> > >
> > >  Embedded error: java.net.URISyntaxException: Illegal character in
> > >  opaque part at index 22: jar:file:/C:/Documents and
> > >  Settings/Administrator/.m2/repository/com/nhn/common-community/1.0.25/c
> > >  mbedded error: java.net.URISyntaxException: Illegal character in
> > >  opaque part at index 22: jar:file:/C:/Documents and
> > >  Settings/Administrator/.m2/repository/com/nhn/common-community/1.0.25/common-community-1.0.25.jar!/com/naver/common/community/dao/AbstractExSqlMapDAO$1.class
> > >
> > >  In this current, I just recommend to use the local settings.
> > >
> > >  <settings>
> > >   <localRepository>C:\Documents~1\.m2\repository\</localRepository>
> > >  </settings>
> > >
> > >  Is there any solution for avoid this issue?
> >
> > Maybe you could try using forward slashes (e.g.
> > C:/Documents~1/.m2/repository/), or a full file:// URL if that does
> > not work.
> >
> > >  Thanks.
> > >  --
> > >  B. Regards,
> > >  Edward J. Yoon
> > >
> > >  ---------------------------------------------------------------------
> > >  To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >  For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > --
> > - Jan Fredrik Wedén
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
>
> --
> B. Regards,
> Edward J. Yoon
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: java.net.URISyntaxException on windows.

Posted by "Edward J. Yoon" <ed...@udanax.org>.
Thank you for your reply.

Exception throwed by white space. So, i just recommend to set the
local repository path of DOS-style. However, I'm trying to find other
solution; too many (developers's local setting/project codes) should
be changed.
Is there any solution for avoid this issue using pom.xml settings?

Thanks,
Edward.

On Wed, Apr 23, 2008 at 4:56 PM, Jan Fredrik Wedén <jf...@gmail.com> wrote:
>
> On Wed, Apr 23, 2008 at 9:47 AM, Edward J. Yoon <ed...@udanax.org> wrote:
> > My project throws URISyntaxException.
> >
> >  Embedded error: java.net.URISyntaxException: Illegal character in
> >  opaque part at index 22: jar:file:/C:/Documents and
> >  Settings/Administrator/.m2/repository/com/nhn/common-community/1.0.25/c
> >  mbedded error: java.net.URISyntaxException: Illegal character in
> >  opaque part at index 22: jar:file:/C:/Documents and
> >  Settings/Administrator/.m2/repository/com/nhn/common-community/1.0.25/common-community-1.0.25.jar!/com/naver/common/community/dao/AbstractExSqlMapDAO$1.class
> >
> >  In this current, I just recommend to use the local settings.
> >
> >  <settings>
> >   <localRepository>C:\Documents~1\.m2\repository\</localRepository>
> >  </settings>
> >
> >  Is there any solution for avoid this issue?
>
> Maybe you could try using forward slashes (e.g.
> C:/Documents~1/.m2/repository/), or a full file:// URL if that does
> not work.
>
> >  Thanks.
> >  --
> >  B. Regards,
> >  Edward J. Yoon
> >
> >  ---------------------------------------------------------------------
> >  To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >  For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> --
> - Jan Fredrik Wedén
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



-- 
B. Regards,
Edward J. Yoon

Re: java.net.URISyntaxException on windows.

Posted by Jan Fredrik Wedén <jf...@gmail.com>.
On Wed, Apr 23, 2008 at 9:47 AM, Edward J. Yoon <ed...@udanax.org> wrote:
> My project throws URISyntaxException.
>
>  Embedded error: java.net.URISyntaxException: Illegal character in
>  opaque part at index 22: jar:file:/C:/Documents and
>  Settings/Administrator/.m2/repository/com/nhn/common-community/1.0.25/c
>  mbedded error: java.net.URISyntaxException: Illegal character in
>  opaque part at index 22: jar:file:/C:/Documents and
>  Settings/Administrator/.m2/repository/com/nhn/common-community/1.0.25/common-community-1.0.25.jar!/com/naver/common/community/dao/AbstractExSqlMapDAO$1.class
>
>  In this current, I just recommend to use the local settings.
>
>  <settings>
>   <localRepository>C:\Documents~1\.m2\repository\</localRepository>
>  </settings>
>
>  Is there any solution for avoid this issue?

Maybe you could try using forward slashes (e.g.
C:/Documents~1/.m2/repository/), or a full file:// URL if that does
not work.

>  Thanks.
>  --
>  B. Regards,
>  Edward J. Yoon
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>  For additional commands, e-mail: users-help@maven.apache.org
>
>

-- 
- Jan Fredrik Wedén

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org