I have a non-Mavenized, Spring/JPA/Struts application that I have been the lead developer on for over 16 years. We are currently using RAD v9.5, with WebSphere Application Server v9.0.2. Compiler compliance level is 1.8. The Spring version is 4.2.6. Last week, I had the RAD IDE open on my Windows 10 workstation, and everything with the workspace and code was fine, no errors. at the end of the workday Wednesday, I closed the IDE, which closed normally with no errors. I did not make any changes to the code, nor did I change anything in the workspace prior to closing the RAD IDE on Wednesday. I did not open RAD all day on Thursday, as I had meetings and other work. When I opened RAD on Friday morning, there suddenly appeared 14 Spring XML file errors.
I tried several Clean/Build sequences, along with re-validating the XML files several times. I tried closing & opening RAD several times, I even tried rebooting the entire machine a few times, the errors will not go away. There were no Windows updates nor any other organizational software updates between when I closed RAD last Wednesday, and when I opened it on Friday morning.
Here are some of the error messages:
The errors below were detected when validating the file “spring-aop-4.2.xsd” via the file “spring-application-context.xml”. In most cases these errors can be detected by validating “spring-aop-4.2.xsd” directly. However, it is possible that errors will only occur when spring-aop-4.2.xsd is validated in the context of spring-application-context.xml.
schema_reference4: Failed to read schema document “https://www.springframework.org/schmea/beans/spring-beans-4.2.xsd, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema.
schema_reference4: Failed to read schema document “https://www.springframework.org/schmea/beans/spring-tool-4.2.xsd, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema.
The errors below were detected when validating the file “spring-context-4.2.xsd” via the file “spring-application-context.xml”. In most cases these errors can be detected by validating “spring-aop-4.2.xsd” directly. However, it is possible that errors will only occur when spring-aop-4.2.xsd is validated in the context of spring-application-context.xml.
schema_reference4: Failed to read schema document “https://www.springframework.org/schmea/beans/spring-beans-4.2.xsd, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema.
schema_reference4: Failed to read schema document “https://www.springframework.org/schmea/beans/spring-beans-4.2.xsd, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema.
There are 12 more errors similar to these. The XML files referenced in the errors are:
servlet-context.xml, spring-application-context.xml, spring-data.jpa.xml, spring-servlet.xml, secPersistenceConfig.xml, and secContextConfig.xml.
I'm not understanding why, on Wednesday, (and for many years), everything was fine, no errors. But when I opened the IDE on Friday morning, after making no changes to the workspace, these errors are appearing.
Thank you.