Thanks for your time but i solved the problem I upgraded the aspectj dependency to 1.6.0 and now it's working correctly.
I'm not using a context XML, cause I'm using annotations. I don't know why...
Type: Posts; User: ceasaro; Keyword(s):
Thanks for your time but i solved the problem I upgraded the aspectj dependency to 1.6.0 and now it's working correctly.
I'm not using a context XML, cause I'm using annotations. I don't know why...
I now tried it with spring 2.5.3 but still i'm getting the same exception.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'my_manager' defined in URL...
I did answer (the most important question) but I added it right after I first submitted it because I forgot to answer it. You must be very quick in reading these post :-).
But to answer your...
Spring version: 2.5.0
JDK version: java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
BEA JRockit(R) (build...
If I create a spring bean with the following method I get during the spring initialization a BeanCreationException.
De springbean code looks like this:
@Component("my_manager")
public...
You have injected you're edao using the following spring bean configuration:
<bean id="newController" class="controller.newController">
<property name="cacheSeconds" value="120"/>
...
I found the solution by setting the proxy-target-class property on the annotaion-driven element. In de spring bean configuration.
<tx:annotation-driven...
Can't you change the primitive posX to a Integer object. This shouldn't be a problem when you're using java 5 or higher, cause of the autoboxing feature in java 5.
Anyway what value would you like...
I'm using a hibernate based DAO class when I place @Transaction-annotation on some of it's methods spring gets the following exception:
org.springframework.beans.factory.BeanCreationException:...
Check the @Resource annotation it can autowired by name. Notice you need jdk-1.6 cause the @Resource annotation is present in jdk-1.6.
Link to the springframework documentation:
...
Are you using the BEA JRockit jvm? if so you probably have the same problem as me. It seems that the resource loading on JRockit behaves differently as on the SUN jvm. When I run my application on...