java - Regex class not working on server side of GWT -
I have the following part of the code in the module's server folder.
pattern regex = Pattern.compile ("/ (B [A-Z0- 9] {9}) /"); Matcher matcher = regex.matcher (detailPageUrl);
But I still get the following errors:
[error] line 14: import java.util.regex can not be resolved [error ] Line 15: Import java.util.regex can not be fixed [ERROR] Line 202: Pattern can not be sorted by one type [ERROR] Line 202: Pattern can not be resolved [Error] Line 203 : A kind of solution can not be solved
I have imported
import java.util.regex.Mat Cher; Import java.util.regex.Pattern;
In the code
I thought Regex would work on the server side. Why is not it working?
First look at the Java environment like Java version, CellPath, etc. The error clearly states that the package can not be imported due to some reason.
Comments
Post a Comment