So my main class was Login while the package name was _center_app1, When I checked the entry wasĪll I did was remove ".Login" from _center_app1 and it was fixed, no more errors. In my case, the package name was accompanied by the main class. Untuk bisa berjalan dengan baik aplikasi yang telah diinstal maka hal yang selanjutnya dilakukan 2. Inside "Set Properties" make sure exec.args=classpath %classpath "package_name" NetBeans dan JDK, sedang 圆4 adalah tipe sistem c. Buku yang berjudul Membuat Aplikasi Sederhana dengan Menggunakan Java Netbeans berisimembahas penjelasan teori beserta langkah-langkah detail dalam membuat aplikasi yang didalamnya terdapat tutorial cara pembuatan aplikasi luas bangun aplikasi klinik pengobatan aplikasi data entry mahasiswa dan aplikasi.On the right side in Actions select "Run Project" and you will see properties below.Right-click on the project, and go to the properties. On my PC my Jar file snapshot would give me this error while on my laptop it would work fine, I tried all the tricks shown above and on other forums like deleting cache, selecting main project file, etc, but somehow I was sure the reason it cannot find the main class when I would execute the JAR file was may be due to classpath issue in maven configuration, and I was right and I fixed it using following steps:
0 Comments
Leave a Reply. |