How to avoid compile time error using Find and Replace APIs of Aspose.Words for Java

When your code is compiled, the compiler needs to work out what each and every identifier in your code means. As the compiler is going through the code it will find something and know what to do with it or not. Cannot find symbol error relates to the identifiers and means that Java cannot figure out what the “symbol” means.

  • You need to check import declarations on class file header.
  • Remember that Java is a case sensitive language. ArrayList is different from Arraylist

@markaldo

You are checking very old thread. Please read the following article about latest code examples. Hope this helps you.
Find and Replace

If you still face problem, please ZIP and attach your input and output documents along with code example that you are using. We will investigate the issue and provide you more information on it.