[BUILDTOOLS-380] Exception in thread "main" org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found Created: 13/Jan/18  Updated: 11/Jun/21  Resolved: 13/Jan/18

Status: Resolved
Project: BuildTools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jonathan W Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: Craftbukkit
Environment:

Java 1.8.0_151 x64

AMD A8-5500 APU with Radeom(tm) HD Graphics 3.20 GHz

8.00 GB RAM

64-bit Windows 10 Home Version 1709

Newest version of git and BuildTools



 Description   

The following code appeared in my git command line while I was trying to setup CraftBukkit

Admin@xxxxxxxx MINGW64 ~/Downloads
$ java -jar BuildTools.jar
Loading BuildTools version: git-BuildTools-609c14e-70 (#70)
BuildTools
[email protected]
Exception in thread "main" org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found: C:\Users\jww20\Downloads\Bukkit
at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:582)
at org.eclipse.jgit.api.Git.open(Git.java:117)
at org.eclipse.jgit.api.Git.open(Git.java:99)
at org.spigotmc.builder.Builder.main(Builder.java:248)
at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:23)



 Comments   
Comment by klokwert [ 11/Jun/21 ]

md_5 isn't technically incorrect, but this issue probably occurs to you because you have executed something like:
"export GIT_DIR=.customgitdir"

tbh, this issue should be reopened because it's still an issue in the buildtools today

Comment by md_5 [ 13/Jan/18 ]

Please run BuildTools in an empty folder

Generated at Tue Sep 02 21:51:35 UTC 2025 using Jira 10.3.9#10030009-sha1:eff8913ed2270ee44ab422c3609af4c4f36536d0.