Closed tyxiangs closed 1 month ago
Hi, I also have this error on my IntelliJ but the checkstyle runs just fine!
Could you try running ./gradlew checkstyleMain checkstyleTest
and see if it works, or if you get an error message?
Btw, just a side note: if you right click the red text in IntelliJ and click Show Context Actions
, you can click on Fetch External Resource
and that removes the error!
I get this error after I fetch external resources ![Uploading Screenshot 2024-09-06 113410.png…]()
Here are the steps I took to resolve this error:
Copy-paste the links on the internet.
Once done, the files configuration_1_3.dtd
and suppressions_1_2.dtd
will be downloaded.
You can paste those files within the same config/checkstyle
folder as checkstyle.xml
and suppressions.xml
.
After doing the above, you can write the following code instead:
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"configuration_1_3.dtd">
The same can be done for suppressions.xml
.
There will be no longer be any URI not registered error.
@tyxiangs A gentle reminder to close this issue if the problem has been resolved. If not resolved yet, please post a comment explaining which part of the problem/question remains unresolved.
@tyxiangs I'm closing this issue due to inactivity. Feel free to reopen if the issue is still unresolved.
Hi, I have followed steps given but I get URL is not registered error.