Another crazy mistake: Java.lang.IllegalArgumentException:No property find found for type class

Source: Internet
Author: User

When using spring data JPA, create your own interface and implement it, respectively, by naming:

Interface:moduledaocustom

Implement:moduledaocustomimpl

Then create Moduledao extends Pagingandsortingrepository<t, Long> moduledaocustom

The result is an error: Java.lang.IllegalArgumentException:No property finding found for type class domain. Module

Baidu on how to search also do not search out the results, the last Google, see an article, like this, incredibly with the file name, after the implementation of the file Moduledaocustomimpl renamed as Moduledaoimpl, incredibly passed, crazy.

This bug is too torture. Give me the hint is the following article:

https://jira.springsource.org/browse/DATACMNS-114

Add: The name of the problem, see another article today to find out more clearly, the address is as follows:

http://haolx.iteye.com/blog/1575411

I also reproduced this article into my blog:

http://blog.csdn.net/yyzhq/article/details/8006923

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.