Cannot resolve 'getUniqueClassIdentifier()' to a type

Discussion in 'Spigot Plugin Development' started by bshayhoe, Apr 30, 2017.

  1. Hey all,

    I am in need of a hand as I cannot get IntelliJ to use
    Code (Text):

    return new;
    IntelliJ tells me that it cannot resolve the symbol 'craftbukkit'.

    I am not sure why this is and have been searching for a fix. If anybody can point me to a solution, that would be great!


  2. Mas


    You need to import the server jar into your project aswell as the API.
  3. Doesn't bukkit already include Gson? (Which has not been located in the libs package for a while now)
    • Agree Agree x 1
  4. Hey all,

    First off, thanks for all the help. It now works.
    However, we have another problem. I cannot resolve 'getUniqueClassIdentifier()' to a type. I'm not sure on this either.