Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+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 (8 points)

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 (8 points)