Compiler won't recognise new method in script library

I have a java agent that uses a java script library.

A new method has been added to a class in the script library.

When I try to edit the agent and add a call to the new method it tells me it is not found in the class.

I’ve recompiled the script library. Tried refreshing everything in ‘Edit Project’ (in the script library).

I’ve also removed the library from the agent’s ‘Edit Project’ bit and re-added it with multiple save’s to the agent in between.

For the life of me I am unable to get it to recognise my new method.

Any suggestions would be most appreciated.