2

I tried to create a new java class using the 'New Java Class' menu option. The class is named ATMUtils.java. After I entered the details for the class, I did not get the Editor showing the new class. But when I went into Package Explorer, that class was listed under the 'Code/Java' section.

Under the Problems view, I see the error 'The project was not built since the source file .....ATMUtils.java could not be read'.

Even after doing a 'Project - Clean' and restarting Designer multiple times, the error does not go away.

When I do a right click and select 'Delete', I get the error: 'An unexpected error occurred while performing the refactoring. Reason: Resource is not local'.

When a colleague of mine looked at that same db in his client, he did not see this class under Package Explorer view ( the db is on a development server - not local).

How do I remove this class from the project ?

Jack P
  • 43
  • 5

1 Answers1

5

Remove database from workspace in Designer so that it is not visible in Designer/Applications anymore. Close Notes Client and Designer. Reopen Notes Client and open database in Designer.

Knut Herrmann
  • 30,880
  • 4
  • 31
  • 67
  • @Knut: I am just starting off with Java and have read this same issue in different places as well as myself. Do you know the reason behind these errors? Something developers are doing wrong? – Eric Tomenga Dec 09 '14 at 19:21