[Fix] java.lang.NoSuchMethodError thrown by Maven PMD Plugin 3.18.0

The Error “java.lang.NoSuchMethodError thrown by Maven PMD Plugin 3.18.0 “, is an error that is invoked when you are working on java and you are trying to run a multi-module Maven Java project. Given below is the snippet of the error you might get: The error, “java.lang.NoSuchMethodError thrown by Maven PMD Plugin 3.18.0” is seen …

Read More

[Fix] net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)

Recently when I was coding with the HTTP1.1 server in kotlin,I got an unexpected error when I tried Running it and opening the browser at localhost:5555; net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK). A snippet of the error I got is given below: I would like to share the steps that helped me to fix the error; net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK): …

Read More

Fix: Cannot resolve No versions available for org.osgi.service:org.osgi.service.prefs:jar:[1.1.0,1.2.0) within specified range Error

During the installation of Maven, I encountered an issue with JDT dependencies, which is as follows: Cannot resolve No versions available for org.osgi.service:org.osgi.service.prefs:jar:[1.1.0,1.2.0) within specified range in Java. Why Cannot resolve No versions available for org.osgi.service:org.osgi.service.prefs:jar:[1.1.0,1.2.0) within specified range Error Occurs? The groupId in your dependence is the cause of error Cannot resolve No versions …

Read More

Fix: Spring plugin in Eclipse cannot open pom.xml OR java.lang.noclassdeffounderror: org/eclipse/tm4e/ui/utils/contenttypehelper

I recently tried to install the Spring plugin (Spring Tools 4.14.1)  in Eclipse and later tried to create new project with opening the pom.xml file, it is showing the below error: Spring plugin in Eclipse cannot open pom.xml because the tm4e is missing in Spring Plugin (Spring Tools 4.14.1). If Spring plugin in Eclipse cannot …

Read More