I'm trying to run a spring project but I get this error:
Exception in thread "main" org.springframework.beans.factory.xml.
Initially I wasn't getting this error when I used xml beans configuration but when I tried using annotation beans configuration, I run into this error.
This is my spring.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<beans xmlns = "http://www.springframework.org/schema/beans"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation = "http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<context:component-scan base-package="com.kessie"></context:component-scan>
</beans>
I tried adding more schemaLocations but I still get the error
I also saw a similar problem here and I tried the possible solution provided but it doesn't work