selection does not contain a main type
Opened this issue · 3 comments
kajvans commented
if i try to run it i get the error: selection does not contain a main type
how to fix it
i did import the project to eclipse otherwise i dont know ho to run it
Sanjit1 commented
How can I reproduce the error
kajvans commented
Download the program and than run it in eclipse
…On Sat, 2 May 2020, 19:03 Sanjit Sarda, ***@***.***> wrote:
How can I reproduce the error
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM5FP2AAGXR7BPRQNJ36TVLRPRG77ANCNFSM4L2VRKFA>
.
Sanjit1 commented
Eclipse is generally for java, which is why it is looking for a main java method in the so called-project you imported. There are a couple of ways you could run this:
- Open the repository folder in your File Explorer, and open the
index.html
file with your browser. This will help you use the project offline if you want. - Open this repository in Visual Studio, and run it via localhost. Again there are a number of ways to do that, but the best way is Live Server.