• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to get rid of this Spring start up error?

 
Ranch Hand
Posts: 530
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,


I am running into a problem with Spring. When I started the web app in Tomcat, it throws this exception:




So I pick up Spring configuration file, applicationContext.xml, and I am suspecting this line causes the problem:



But I don't know how to solve the issue.

Any help?

Thanks a bunch.
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

It seems that your spring jar version and the version of xsd mentioned in the configuration file is not same. you might have copied the configuration file from net.
 
Nam Ha Minh
Ranch Hand
Posts: 530
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Atul Kotwale wrote:Hi,

It seems that your spring jar version and the version of xsd mentioned in the configuration file is not same. you might have copied the configuration file from net.



Thank you for replying.

In the pom.xml file, I see:



So I thought I should change the version of xsd to 0.8:



However I still got this exception:



I am still lost
 
Greenhorn
Posts: 21
Mac Scala VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How about removing the numbers from the -2.5 and -0.8 and just let it pickup what is on the classpath, and let Maven worry about the versions?
 
Nam Ha Minh
Ranch Hand
Posts: 530
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Kaspar Christenson wrote:How about removing the numbers from the -2.5 and -0.8 and just let it pickup what is on the classpath, and let Maven worry about the versions?


I tried, but still the same. I noticed the spring-modules-validation-0.8.jar file is presence in WEB-INF\lib directory.
 
Kaspar Christenson
Greenhorn
Posts: 21
Mac Scala VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you also have this in WEB-INF?


Maybe this will help spark some ideas http://www.jarvana.com/jarvana/inspect-pom/org/springmodules/spring-modules-validation/0.8/spring-modules-validation-0.8.pom
 
The harder you work, the luckier you get. This tiny ad brings luck - just not good luck or bad luck.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic