Announcement Announcement Module
No announcement yet.
Bean must not implement Interface? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bean must not implement Interface?

    Hi everyone.

    i get a strange error. I have my XYService Bean that implements an interface YService. Now when I try to call a method in an action-state on my XYService Bean that is not declared in the YService Interface, i get an ELException stating Method Not Found. When i remove the "implements YService" everything works fine though...

    How is that?

    cheers, simon

  • #2
    Spring use Proxy, is important work with interfaces

    If you can post your code before and after your editions would be useful for us to get a better idea

    the worst case is that in your action-state you wrote wrong