NoClassDefFound Error: Could not initialize class

Suppose that you are faced with an exception like this: At first, you might think that java cannot find com.example.YourClass. But if you execute this line: Then it will work successfully and you will not see an exception. The point is that java sees the class, but a masked error occurred while initializing static fields […]

READ MORE

IgniteException: Work directory does not exist

Suppose that when starting the application, you encounter the following exception: It is assumed, that the /tmp/ignite/work directory is located on the local file system. If the application is running on a cluster, then Ignite will try to create such a folder on each node of the cluster. Exception reasons: The account under which the […]

READ MORE

Groovy Runtime Exception: Could not find matching constructor

If you encounter an exception like this: Then you most likely have a class InnerClass, which is declared inside BaseClass: And in some other class (even inherited from BaseClass) you are trying to instantiate InnerClass: Then you will get groovy.lang.GroovyRuntimeException: Could not find matching constructor. The point is that objects of inner classes in groovy need […]

READ MORE