why wrong name with NoClassDefFoundError

前端 未结 3 1906
忘了有多久
忘了有多久 2021-01-17 03:24

I created a List.java file in folder UtilityPack which contains this code

package Utilities;
public class List
{
    private class          


        
3条回答
  •  萌比男神i
    2021-01-17 03:48

    Use the complete name of the class to lauch your program :

     java Utilities.List
    

    But the folder name should also match the package name.

提交回复
热议问题