发送自 Windows 10 版邮件应用
发件人: [email protected] 发送时间: 2016年12月12日 23:26 收件人: amareshwarisr .; dev 主题: 答复: when I run mvn eclipse,i got a error“Cant canonicalize system path:” 。can anyone help me? Mycommond:G:\project\apache-lens-2.6.1>mvn eclipse:eclipse -DskipTests -X INFO] Lens Examples ...................................... SUCCESS [ 1.452 s] [INFO] Lens Ship Jars to Distributed Cache ................ SUCCESS [ 1.213 s] [INFO] Lens Distribution .................................. FAILURE [ 2.668 s] [INFO] Lens ML Lib ........................................ SKIPPED [INFO] Lens ML Ext Distribution ........................... SKIPPED [INFO] Lens Regression .................................... SKIPPED [INFO] Lens UI ............................................ SKIPPED [INFO] Lens Contrib ....................................... SKIPPED [INFO] Lens Contributed Clients ........................... SKIPPED [INFO] Lens Python Client ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:04 min [INFO] Finished at: 2016-12-12T22:53:09+08:00 [INFO] Final Memory: 133M/710M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.10:eclipse (default-cli) on project lens-dist: Cant canonicalize system path: {0}: 文件名、目录名或卷标语法不正确。 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.10:eclipse (default-cli) on project lens-dist: Cant canonicalize system path: {0} at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Cant canonicalize system path: {0} at org.apache.maven.plugin.ide.IdeUtils.getCanonicalPath(IdeUtils.java:146) at org.apache.maven.plugin.ide.IdeUtils.toRelativeAndFixSeparator(IdeUtils.java:582) at org.apache.maven.plugin.eclipse.EclipsePlugin.extractResourceDirs(EclipsePlugin.java:1745) at org.apache.maven.plugin.eclipse.EclipsePlugin.buildDirectoryList(EclipsePlugin.java:1635) at org.apache.maven.plugin.eclipse.EclipsePlugin.createEclipseWriterConfig(EclipsePlugin.java:1341) at org.apache.maven.plugin.eclipse.EclipsePlugin.writeConfiguration(EclipsePlugin.java:1165) at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:481) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: java.io.IOException: 文件名、目录名或卷标语法不正确。 at java.io.WinNTFileSystem.canonicalize0(Native Method) at java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428) at java.io.File.getCanonicalPath(File.java:618) at org.apache.maven.plugin.ide.IdeUtils.getCanonicalPath(IdeUtils.java:142) ... 28 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :lens-dist 发送自 Windows 10 版邮件应用 发件人: amareshwarisr . 发送时间: 2016年12月12日 12:45 收件人: dev; [email protected] 主题: Re: when I run mvn eclipse,i got a error“Cant canonicalize system path:” 。can anyone help me? Seems your attachment is not clear. Can you copy and paste the error as text here ? Thanks 2016-12-11 19:26 GMT+05:30 <[email protected]>: 发送自 Windows 10 版邮件应用
