I've also had this but intermittently, usually occurred when I'm behind a hideously slow NTLM proxy but not always.
-----Original Message----- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Sent: 15 December 2005 02:01 To: Maven Users List Subject: Re: [m2] can't read url exception Which project directory are you generating using the command ? I used on maven-site and I got it to generate the site successfully. Law Green-A20134 wrote: >When I running "mvn -U site:site" to generate offline document for >maven2, I got the following error: > >[INFO] >------------------------------------------------------------------------ >- >--- >[INFO] Can't read the url >[http://www.apache.org/licenses/LICENSE-2.0.txt] : www >.apache.org >[INFO] >------------------------------------------------------------------------ >- >--- >java.util.MissingResourceException: Can't read the url >[http://www.apache.org/li >censes/LICENSE-2.0.txt] : www.apache.org <http://www.apache.org> > at >org.apache.maven.report.projectinfo.LicenseReport$LicenseRenderer.ren >derBody(LicenseReport.java:248) > at >org.apache.maven.reporting.AbstractMavenReportRenderer.render(Abstrac >tMavenReportRenderer.java:65) > at >org.apache.maven.report.projectinfo.LicenseReport.executeReport(Licen >seReport.java:133) > at >org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven >Report.java:98) > at >org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo. >java:802) > at >org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301) > at >org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi >nManager.java:399) > at >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >ultLifecycleExecutor.java:519) > at >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone >Goal(DefaultLifecycleExecutor.java:482) > at >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau >ltLifecycleExecutor.java:452) > at >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan >dleFailures(DefaultLifecycleExecutor.java:301) > at >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen >ts(DefaultLifecycleExecutor.java:268) > at >org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi >fecycleExecutor.java:137) > at >org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > 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:585) > 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) > >However, I can open the url in my browser. And I have already set the >proxy settings of JRE to be the same as browser settings. > >Can anyone tell me where is my problem? > >Regards, >Green > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]