jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Jetty
  • JETTY-1166

java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Doc uments and Settings/karltdav/.m2/repository/org/mortbay/jetty/jetty-maven-plugin /7.0.1.v20091125/jetty-maven-plugin-7.0.1.v20091125.jar

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 7.0.1
  • Fix Version/s: None
  • Component/s: Maven
  • Labels:
    None
  • Environment:
    Win XP
    maven 2.2.1

Description

See http://www.mail-archive.com/users@maven.apache.org/msg58572.html and http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4466485 for a background.

2010-01-01 20:54:50.593:INFO::jetty-7.0.1.v20091125
2010-01-01 20:54:50.640:WARN::Failed startup of context JettyWebAppContext@8825a
5@8825a5/zipcodeservice,file:/C:/projects/ext/davidkarlsen.com/zipcodeservice/zi
pcodeservice-war/src/main/webapp/,file:/C:/projects/ext/davidkarlsen.com/zipcode
service/zipcodeservice-war/src/main/webapp/
java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Doc
uments and Settings/karltdav/.m2/repository/org/mortbay/jetty/jetty-maven-plugin
/7.0.1.v20091125/jetty-maven-plugin-7.0.1.v20091125.jar
        at java.net.URI$Parser.fail(URI.java:2809)
        at java.net.URI$Parser.checkChars(URI.java:2982)
        at java.net.URI$Parser.parseHierarchical(URI.java:3066)
        at java.net.URI$Parser.parse(URI.java:3014)
        at java.net.URI.<init>(URI.java:578)
        at java.net.URL.toURI(URL.java:918)
        at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfi
guration.java:81)
        at org.mortbay.jetty.plugin.MavenWebInfConfiguration.preConfigure(MavenW
ebInfConfiguration.java:117)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:347
)
        at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContex
t.java:102)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:55)
        at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCol
lection.java:165)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(Con
textHandlerCollection.java:162)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:55)
        at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCol
lection.java:165)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:55)
        at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrappe
r.java:92)
        at org.eclipse.jetty.server.Server.doStart(Server.java:228)
        at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:69)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:55)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMo
jo.java:433)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.
java:377)
        at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:546)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
2010-01-01 20:54:50.781:INFO::Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 10 seconds.

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. JETTY-1063 Jetty Maven Plugin 7.0.0.1beta2 has problems with spaces in class path resource references

  • Major - Major loss of function.
  • Resolved - A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
David J. M. Karlsen added a comment - 01/Jan/10 1:57 PM

I've verified that this is due to spaces in the path to localRepository - the suggested workaround in the sun java bug report should work.

Show
David J. M. Karlsen added a comment - 01/Jan/10 1:57 PM I've verified that this is due to spaces in the path to localRepository - the suggested workaround in the sun java bug report should work.
Hide
Permalink
Jan Bartel added a comment - 04/Jan/10 5:07 PM

This issue is the same as that reported in JETTY-1063. I don't immediately see how any workaround in jetty could overcome the problem in the maven code for the reasons given in the bug above - if you can, please do provide a patch!

cheers
Jan

Show
Jan Bartel added a comment - 04/Jan/10 5:07 PM This issue is the same as that reported in JETTY-1063. I don't immediately see how any workaround in jetty could overcome the problem in the maven code for the reasons given in the bug above - if you can, please do provide a patch! cheers Jan
Hide
Permalink
Jan Bartel added a comment - 16/Feb/10 12:32 AM

Closing, but happy to reopen if someone has a clever patch.

Jan

Show
Jan Bartel added a comment - 16/Feb/10 12:32 AM Closing, but happy to reopen if someone has a clever patch. Jan

People

  • Assignee:
    Jan Bartel
    Reporter:
    David J. M. Karlsen
Vote (0)
Watch (1)

Dates

  • Created:
    01/Jan/10 1:56 PM
    Updated:
    16/Feb/10 12:32 AM
    Resolved:
    16/Feb/10 12:32 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.