`

Could not determine type for: java.util.List

    博客分类:
  • java
 
阅读更多
Could not determine type for: java.util.List

用hibernate 映射好好的竟然出现这个问题

以前也遇到过,但不知道怎么给解决了,今天又遇到了,我用到的是用注解标注的映射关系

后来仔细砍了,原来注解要么写在字段上,要么写在getter上,不能混合使用,否则会报错
分享到:
评论

相关推荐

    Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: No outputs for

    Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: No outputs for the main artifact of variant:’ 解决方法: 确保在build.gradle文件中设置了applicationId ...

    完美解决Jpush[获取sdk版本失败!]的问题

    错误日志如下: 5-31 12:47:40.088 ... W/System.err: java.lang.UnsatisfiedLinkError: Native method not found: cn.jiguang.service.Protocol.GetSdkVersion:()I 05-31 12:47:40.088 23896-23896/? W/System.err

    Android Studio更新3.6.3之后出现Could not resolve all artifacts for configuration ‘:classpath’.问题

    Android Studio更新3.6.3之后出现Could not resolve all artifacts for configuration ‘:classpath’.问题你是否和我一样,只因在人群中多看了他一眼?![在这里插入图片描述]...

    apktool documentation

    compressionType - Used to determine the compression that resources.arsc had on the original apk in order to replicate during [b]uild unknownFiles - Used to record name/location of non-standard files...

    FlippableStackView.zip

    1. "JavaApk源码说明.txt":这可能是一个文本文件,详细解释了压缩包中的源码结构、使用方法或者开发者的注意事项。用户应该首先阅读此文件,获取关于源码的基本信息和使用指南。 2. "下载更多打包源码~.url":这是...

    stetho okhttp chrome 检测网络需要的jar包

    Stetho是一个强大的Android调试库,由Facebook开发并开源,它允许开发者在Chrome浏览器中对Android应用进行深度的网络检测、查看数据库以及检查Shared Preferences(SP)。这个工具极大地简化了开发者在开发过程中对...

    Android 选择图片、上传图片之PictureSelector

    集成方式 implementation ...build.gradle加入 allprojects {  repositories {  jcenter() ... } }   ...PictureSelector适配已经做的很好了,功能齐全,且兼容性好 ...4.动态获取系统

    2017届北师大版·英语·一轮复习课件:10.ppt

    “Charles believes that many people want to earn a lot of money so that they will not have any worries.” 这样的复合句结构,使得观点表达更完整。 6. **鼓励与激励**:文章中老师的表扬起到了激励学生的...

    Hibernate多表关联配置及错误解决方法

    当出现错误"Could not determine type for: java.util.Set"时,通常是因为缺少了关联配置或类型不匹配。确保在两个相关的类中都有相应的映射,并且类型与数据库字段类型一致。此外,注解的位置一致性也很重要,如...

    cirris operation manual

    1. **Identifying Adapter Type**: Determine the required adapter based on cable specifications. 2. **Inserting Adapter**: Insert the adapter into the designated slot on the tester. 3. **Configuring ...

    解决linux找不到hostname的处理

    java.net.UnknownHostException: java: java: No address associated with hostname at java.net.InetAddress.getLocalHost(InetAddress.java:1475) at net.sf.ehcache.Cache.<clinit>(Cache.java:222) ``` 此...

    qtcreator4.4.1.zip

    Makefile:5559: recipe for target '.obj/release-shared/botan.o' failed make[3]: *** [.obj/release-shared/botan.o] Error 1 make[3]: Leaving directory '/opt/qt-creator-opensource-src-4.4.1/src/libs/ssh...

    解决ftpClient.listFiles()结果为空的问题

    CentOS某些版本中,JAVA代码执行ftpClient.listFiles()有时结果为空。本项目解决了这个问题。具体代码思路可以参考博客:http://blog.csdn.net/yingprince/article/details/51275956

    Hadoop2虚拟机3节点安装.pdf

    配置Hadoop,编辑/home/hduser/hadoop/etc/hadoop/hadoop-env.sh文件,替换export JAVA_HOME=${JAVA_HOME}为: `export JAVA_HOME=/usr/lib/jvm/java-6-oracle` 配置/home/hduser/hadoop/etc/hadoop/core-site.xml...

    官网下载:Windows-KB841290-x86-ENU.zip

    - Exception list to specify files or directories that should not be computed. - Database listing. - hashes and signature verifications. - store filename with or without full path. 3.Syntax: ---------...

    大学英语三级常考单词和短语.doc

    - `determine`: 决定,`be determined to do sth.` 下定决心做某事。 - `avoid`: 避免,`avoid doing sth.` 避免做某事。 - `request`: 请求,要求。 - `replace`: 替代,替换。 - `attend`: 出席,参加。 2. ...

    unigui0.83.5.820

    - 0000687: "Script" property for TUniForm for adding Custom JS - 0000665: Compatibility with multiple IP systems - 0000685: UniDBGrid: Ellipsis in first column bug (IE) - 0000690: UniDBGrid: ...

    高中英语:Unit 3 Travel Journal Warming up & vocabulary(新人教必修1).doc

    - determine on/upon sth.: 决定做某事 - sb. be determined to do sth.: 某人决定做... - boiling water/boiled water: 沸腾的水 - dream about/of sth.: 梦见/梦想... - keep on sth.: 继续做某事(强调连续性...

    Schmuck, Richard and Schmuck, Patricia. Group processes in the classroom dubuque, Ia.: Wm. C. Brown, 1971 150 pp., [dollar]2.50

    Group processes in the classroom dubuque, Ia.: Wm. C. Brown, 1971 150 pp., [dollar]2.50 BOOK REVIEWS 295 adaptation) : “(1) The needs, attitudes, goals, and interests that a person has upon ...

Global site tag (gtag.js) - Google Analytics