Hello!

I wrote small project. It runs from eclipse succesfuly, but does not compile.
Problem starts when I introduce my own class and object. So I wrote test code to demonstrate:

package com.company;
 
public class Main {
 
    public static void main(String[] args) {
	    Drukat myObj = new Drukat();
	    myObj.Teksts();
    }
}

and my class definition:
package com.company;
 
public class Drukat {
    public void Teksts(){
        System.out.println("Klases tests");
    }
}

when I try to compile I get:

Main.java:6: error: cannot find symbol
Drukat myObj = new Drukat();
^
symbol: class Drukat
location: class Main
Main.java:6: error: cannot find symbol
Drukat myObj = new Drukat();
^
symbol: class Drukat
location: class Main
2 errors

What I'm doing wrong?

Thanks!