I have a problem with Spring Data, I receive some exception of NotSerializableException type.
Below an example to explain how I have this problem :
@Component
@Scope("session")
public class Bean implements Serializable {
@Autowired
private FooRepository repository;
}
public interface FooRepository extends JpaRepository<Foo, Long>
After I look into in the code, I have seen that the interface org.springframework.data.repository.Reposotiry is not serializable.
And the last version of Spring Data hasn't changed.
I could override the serilization but I don't know if it's the best solution.
Could you tell me if you have found an other solution for this problem or workaroud.
Thank in advance.