Skip to Content
0
Former Member
Dec 01, 2005 at 03:19 PM

replaceAll() error when run the program

23 Views

Hi everyone, I am developing an application to replace one string by another string with the method replaceAll() or replaceFirst() on NWDS v2.0.14.

I have changed the Java Build Path from jdk1.3 to j2sdk 1.4.2_10 in order to make those two methods available.

There is no problem in build and deployment. But when execute this application I get an error telling there is no such method. When I comment out the line with the method in the code I can run this application without any error. I am sure the error is caused by the method.

Can you tell me how to fix this problem? Should jdk of Java engine on server be upgraded?

Any hint will be appreciated.

Kind regards.

Wang