Setting up spring app with spring data repositories and mongo db

前端 未结 5 889
孤街浪徒
孤街浪徒 2021-01-06 04:09

I am facing an issue when defining mongo repository in application-context.xml

Following is the error i get in xml

Error occured process

5条回答
  •  北海茫月
    2021-01-06 04:56

    Finally I changed the spring jar version to 4.0.0 and then removed all spring jars from the maven repository and tried to (updated maven first)build again..It worked. I am pretty sure that it will work with 4.0.1 spring jars also.( I was having another project with the same configuration and it was working fine with 4.0.1 jars:)) I contribute this issue to maven and eclipse. Some issue that I don't have any clue at all.

提交回复
热议问题