Hi there... I recently upgraded my project to AppFuse 2.0.2 on my Windows
laptop and I've been able to use it without a problem.

My issue began when I decided to copy all of my code to my desktop computer
(intel 64 bits with Kubuntu 8.04 installed on it) and tried to develop on
it.

I installed the Maven package from the official repositories (version 2.0.8)
and when invoking mvn jetty:run the funny stuff began.

I kept getting a "java.lang.NoSuchMethodError:
org.springframework.beans.factory.config.AutowireCapableBeanFactory.createBean(Ljava/lang/Class;)Ljava/lang/Object;:"
exception.

After googling a bit I found someone talking about two different versions of
Spring being used. I had set up my pom.xml to use Spring 2.5 but I don't
know why, some packages of Spring 2.0.8 were being downloaded. These
packages are:

spring-context-2.0.8
spring-beans-2.0.8
spring-aop-2.0.8
spring-jdbc-2.0.8

Just these four.

For the last couple of days I've been trying to find where the reference to
those packages is but without success.

I've even tried the 

<dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>${spring.version}</version>
</dependency> 

fix (even if knowing that it was intended for AppFuse 2.0.1) that I found
around here, but those four packages keep being downloaded.

So the obvious question is: what am I doing wrong? what do I have to fix to
be able to keep going on my desktop computer?

Thanks a whole lot in advance.

-- 
View this message in context: 
http://www.nabble.com/AppFuse-2.0.2-and-Spring-2.0.8%2B2.5-%3D-NoSuchMethodError-tp18285264s2369p18285264.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to