我正在使用 xCPDesigner 2.1 来构建 Documentum xCP 2.1 应用程序。它似乎使用 Maven Eclipse m2e-webby 插件。我无法启动预览模式。在设计器的 UI 中什么都没有发生。在日志中我可以找到
ERROR [TWorker-4] [internal.com.emc.xcp.builder.ui.util.PreviewStartJob:115] Failed to start webby at port 8888
org.eclipse.core.runtime.CoreException: Exception occurred executing command line.
at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:842)
at org.eclipse.jdt.launching.AbstractVMRunner.exec(AbstractVMRunner.java:86)
at org.eclipse.jdt.internal.launching.StandardVMRunner.run(StandardVMRunner.java:323)
at org.sonatype.m2e.webby.internal.launch.WebbyLaunchDelegate.launchEmbedded(WebbyLaunchDelegate.java:310)
at org.sonatype.m2e.webby.internal.launch.WebbyLaunchDelegate.launch(WebbyLaunchDelegate.java:157)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:704)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:697)
at internal.com.emc.xcp.builder.ui.util.PreviewStartJob.startWebby(PreviewStartJob.java:107)
at internal.com.emc.xcp.builder.ui.util.PreviewStartJob.run(PreviewStartJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.IOException: Cannot run program "C:\XCPDocumentum\xCPDesigner\jre\bin\javaw.exe" (in directory "C:\XCPDocumentum\xCPDesigner\Applications\test_two\test_two\target\m2e-webby"): CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:838)
... 10 more
Caused by: java.io.IOException: CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 12 more
支持论坛中有一些讨论,但一个月没有更新。我对这个插件没有任何经验。非常感谢有关此插件的配置选项的任何线索以及带有此特定错误消息的提示。