流口水工作台雄猫给出错误



我已经下载了最新版本的 Drool Workbench 6.3 战争文件。 部署后相同将出现错误。

java.io.IOException: Cannot run program "bash" (in directory "C:Usersvp19433"): CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
    at java.lang.Runtime.exec(Runtime.java:593)
    at org.eclipse.jgit.util.FS.readPipe(FS.java:431)
    at org.eclipse.jgit.util.FS_Win32.discoverGitPrefix(FS_Win32.java:113)
    at org.eclipse.jgit.util.FS.gitPrefix(FS.java:517)
    at org.eclipse.jgit.util.SystemReader$Default.openSystemConfig(SystemReader.java:92)
    at org.eclipse.jgit.internal.storage.file.FileRepository.<init>(FileRepository.java:171)
    at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:577)
    at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:113)
    at org.uberfire.java.nio.fs.jgit.util.JGitUtil.newRepository(JGitUtil.java:104)
    at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.rescanForExistingRepositories(JGitFileSystemProvider.java:407)
    at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.<init>(JGitFileSystemProvider.java:371)
    at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.<init>(JGitFileSystemProvider.java:343)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:356)

我开始知道Jgit Jar文件有问题。 他们更改了代码,该代码将在没有 Git 的情况下运行。

来源 : https://github.com/eclipse/jgit/commit/ec6ec3b10fb1ef8dd73a499d0b1f7a7d711b84dd

但是从哪里我得到更新的 jar,所以将替换为现有的 jar 并能够运行工作台。

好吧,您可以从源代码自己构建它:

git clone git@github.com:eclipse/jgit.git
cd jgit
mvn clean package

或者你可以从像Maven Central这样的maven存储库中获取jars:http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.eclipse.jgit%22%20AND%20a%3A%22org.eclipse.jgit%22

希望对您有所帮助,

相关内容

最新更新