Hi all,
I'm a little bit confused about the right autowiring strategy. I've a servlet application with JSF and that stuff. In my applicationContext.xml I placed the following construct:
...
Type: Posts; User: rheydenr; Keyword(s):
Hi all,
I'm a little bit confused about the right autowiring strategy. I've a servlet application with JSF and that stuff. In my applicationContext.xml I placed the following construct:
...
I found it by myself. The reason was that I named the custom implementation class MyCustomRepositoryImpl instead of MyRepositoryImpl. Therefore Spring couldn't find the implementing class and tried...
Hi all,
I've made the following Spring Data configuration:
<jpa:repositories base-package="com.my.dao.repositories">
<repository:exclude-filter type="regex"...
Hi all,
I'm not sure if this is the right forum to post this tpic, because it not only covers Spring dm. I have an osgi application using Spring osgi 1.1.2, and it does a bunch of unwanted debug...
That's it, you have to return null, because it is an image stream.
Just change the return value of handleImageRequest to ModelAndView. Then it works.
Is anybody out there who has used this feature?
Hi all,
I want to create a Resource Controller, but Spring doesn't use it :confused:
Here is my Resource Controller:
@Controller
@RequestMapping("VIEW")
public class ImageController {
oh no, it was my mistake... I had two Appserver instances and copied the jar into the wrong directory... sorry :confused:
Hi all,
I can't get my JEE injection to work. I have a Spring bean which gets some JNDI entries injected. The JNDI entries are available, I've tested this with my JBoss (4.2.2) console. But...
seyyedjamal, thanks for your help. But I've just encountered that we used an AOP advice which accesses the hibernate session and asks for an attribute which was nonexistent. Therefore Hibernate...
Thanks for your fast answer, but I thought it can be managed by some transaction advices. I find it really strange to put extra code for handling transactions in my test classes. I believe that it's...
Hi all,
I have an application that runs fine within an application server, with Spring and Hibernate. But if I want to test a method with junit I always get this Exception:
...