package hellowicket;

import java.util.*;

import javax.persistence.*;

@Entity
public class World
{
  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  public int id;
  public int randomNumber;
}

package hellowicket;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Entity
public class World
{
  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  public int id;
  public int randomNumber;
}

Optimize imports