Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+33 votes

I have the following import statement from ClassSharedRepo, but am getting an error with the import:

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

Does anyone know how to resolve this?

asked in CSC285_Fall2018 by (1 point)

1 Answer

+13 votes
 
Best answer

Stonedahl helped me so for anyone with the same issue, I had to copy the lib folder over also to add gson-2.8.5.jar so we could access that code. Then I had to add the it to the buildpath by simply right clicking and clicking "add to buildpath" in the popup menu.

answered by (1 point)
...