//
package Schoollevel;
import java.util.Scanner;
public class Gfg{
public static int a[];
public static void main(String[]args)
{
Scanner sc=new Scanner(System.in);
System.out.println(“enter the size of array”);
int n=sc.nextInt();
a=new int[n];
int i;
for(i=0;i<n;i++)
a[i]=sc.nextInt();
System.out.println(“element to be found out”);
int x=sc.nextInt();
index(x,n-1);sc.close();
}
public static void index(int x,int n)
{
if(n==-1)
return ;
else
{
index(x,n-1);
if(a[n]==x)
System.out.print(n+" ");
}
}
}
error shown is
Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: C:\Users\LENOVO\eclipse-workspace\LiveForLife\bin
Caused by: java.lang.module.InvalidModuleDescriptorException: r1.class found in top-level directory (unnamed package not allowed in module)
how to resolve it