Compilation error in simpletest

I tried to implement similar test as in prog2.test.pub.UriParserTests but I get the following error:

Error while compiling with exit status 1
src/uri/tests/SimpleTests.java:69: error: cannot find symbol
Uri uri = UriParserFactory.create(“http://”).parse();
^
symbol: class Uri
location: class SimpleTests

Have you imported the Uri interface?

See this post: