Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6005049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:20:55+00:00 2026-05-23T01:20:55+00:00

Using Maven to build my project under windows works fine, but when I build

  • 0

Using Maven to build my project under windows works fine, but when I build it under Linux I get a NoSuchMethodError regarding one of the spring libs.

I am guessing it is something to do with class loader differences cross-platform and somewhere in my dependencies and I may have the same class twice but windows is loading one while linux loads the other?

Has anyone come across this problem before, or have any advice on how I can debug this error further?

nested exception is java.lang.NoSuchMethodError:             
org.springframework.aop.config.AopNamespaceUtils.registerAutoProxyCreatorIfNecessary(Lorg/springframework/beans/factory/xml/ParserContext;Lorg/w3c/dom/Element;)V:
java.lang.NoSuchMethodError:     
org.springframework.aop.config.AopNamespaceUtils.registerAutoProxyCreatorIfNecessary(Lorg/springframework/beans/factory/xml/ParserContext;Lorg/w3c/dom/Element;)V
 at org.springframework.transaction.config.AnnotationDrivenBeanDefinitionParser$AopAutoProxyConf

Stack Trace Pastie
POM.xml Pastie

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:20:55+00:00Added an answer on May 23, 2026 at 1:20 am

    Your spring dependencies have too many different versions:

    org.springframework:spring-beans:jar:2.5.6:compile
    org.springframework:spring-aop:jar:2.0.8:compile
    org.springframework:spring-jms:jar:3.0.5.RELEASE:compile

    Make all spring dependencies have the same version (preferably 3.0.5.RELEASE)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im using maven to build a multi module project. But some projects are in
I've built a Maven Grails project which can be build fine using command mvn
I am trying to set up a project using Maven (m2eclipse), but I get
I'm using Maven in the context of another build-tool (leiningen for Clojure, but this
I run a simple CXF maven project http://cxf.apache.org/docs/using-cxf-with-maven.html , and get error below [INFO]
We have our project build using maven. We try to run our unit test
I'm using maven to build the project and compile failed because I put class
I'm using maven to build a .ear project that resolves dependencies from a maven
I'm currently using Maven to build my Rhino JavaScript project, download dependent libraries, and
I am new to Maven and using it to build a project on my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.