Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

OSLC LAB 3, adding all the html to the Servlet

 Im following this guide: https://jazz.net/wiki/pub/Main/OSLCWorkshopDownload/2012-11-26-OSLC-workshop.pdf


On page 77 I copy all the html code to my ListOfProjectAreas folder where the guide suggested it to be. But however in next step when i copy the packages i still end up with three errors. (I cant upload image to the forum so you can reach the error here) http://imgur.com/a/cmOqD

How do i get rid of the error: "Element cannot be resolved to a type" and "PrintWriter cannot be resolved to a typ".

Thanks in advance.


0 votes



2 answers

Permanent link

 The errors are missing class imports or missing dependencies. If the quickfix on the error does not show to import the class, check the dependencies. I have not done this workshop for a while, so I can't tell you how to do that. Usually it is in the Build Path. The pages before mention some libraries that need to be specified. Maybe you are missing one, or classes are moved to another library. You would be able to see the full qualified name of the class maybe in the source project.

0 votes


Permanent link

 Importing these two solved my problems.

import java.io.PrintWriter;
import org.w3c.dom.*;

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Feb 22 '17, 7:10 a.m.

Question was seen: 2,176 times

Last updated: Feb 23 '17, 7:13 a.m.

Confirmation Cancel Confirm