Search:

Type: Posts; User: rheydenr; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    272

    Autowiring and ManagedBean

    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:


    ...
  2. Replies
    1
    Views
    332

    I found it by myself. The reason was that I named...

    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...
  3. Replies
    1
    Views
    332

    exclude-filter doesn't work

    Hi all,
    I've made the following Spring Data configuration:



    <jpa:repositories base-package="com.my.dao.repositories">
    <repository:exclude-filter type="regex"...
  4. Replies
    1
    Views
    859

    Turn off logging

    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...
  5. That's it, you have to return null, because it is...

    That's it, you have to return null, because it is an image stream.
  6. It's easier as I thought...

    Just change the return value of handleImageRequest to ModelAndView. Then it works.
  7. Is anybody out there who has used this feature?

    Is anybody out there who has used this feature?
  8. [Spring 3.0.0.RC2] No matching handler method found for portlet request

    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 {
  9. [solved]

    oh no, it was my mistake... I had two Appserver instances and copied the jar into the wrong directory... sorry :confused:
  10. NotWritablePropertyException with jee:jndi-lookup

    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...
  11. seyyedjamal, thanks for your help. But I've just...

    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...
  12. Thanks for your fast answer, but I thought it can...

    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...
  13. HibernateException while running JUnit tests

    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:


    ...
Results 1 to 13 of 13