tbodt
tbodt

Reputation: 16987

Main class not found in NetBeans

I have been trying to use a remote Git repository in NetBeans for the first time in a program rather than a library. However, each time I click run, all the class files in build/classes are deleted. This is the oddest thing that has ever happened to me in NetBeans, and I have never seen anything like it any where.

Does anyone know what is going on?

Update: My problem is now recurring, in a slightly different way. The versions of the classes that were there before I pushed the code to the remote repository are now being substituted. Both in my original problem and now, the class files ended up in a folder beginning with s and ending with a short number. How can I fix this problem permanently, without temporary fixes such as clearing the cache?

Upvotes: 1

Views: 2240

Answers (1)

andy256
andy256

Reputation: 2881

Are the .class files present before you click run?

As with all Netbeans wierdness, have you tried clearing the cache?

Upvotes: 2

Related Questions