现在实体设计有需要用到java.util.Map,但是在这个属性加@SearchableComponent就报but no class mapping was found for [java.util.Map],具体的信息如下:
Caused by: org.compass.core.mapping.MappingException: Tried to resolve ref-alias for property [articles] in alias [test], but no class mapping was found for [java.util.Map]
这个错误是因为compass不支持map类型吗?有什么思路可以解决,谢谢!
我的配置如下:
@SearchableComponent
@OneToMany(mappedBy="test")
@MapKey(name="title")
public Map<String, Article> getArticles() {
return articles;
}
分享到:
- 2007-11-08 16:11
- 浏览 1661
- 评论(2)
- 论坛回复 / 浏览 (2 / 2205)
- 查看更多
相关推荐
mongodb-windows安装包: mongodb-compass-1.31.2-win32-x64.msi 打开直接安装
Compass需要的包3:compass-core.jar
compass-annotations.jar
完整的compass包,里面有SSH+compass实现全文检索需要用到的5个包.compass-2.1.0.jar compass-index-patch.jar lucene-core.jar lucene-highlighter.jar paoding-analysis.jar
一般的方法是通过gem进行安装,而gem又依赖于Ruby环境,所以要先安装Ruby,然后安装sass和compass,compass的gem安装包下载
compass-2.2.0.jar compass-2.2.0.jar
mongodb-compass-1.28.4-darwin-x64.dmg
compass-2.2.0.zip,Compass是第一个实现java搜索引擎的开源框架,它是基于Lucene之上的,提供更简单的搜索引擎API,事务支持,对象到搜索引擎映射
compass-reference.pdf
compass源代码.zip
3D立体指南针 3D Compass v2.1.apk Android平台下的3D立体指南针,很不错!!!
mongodb-compass-1.20.5-win32-x64工具,连接mongodb工具。官方下载慢,现提交一下。
mongodb-compass-1.42.1-win32-x64.exe 数据库构建工具
Not with Sass and Compass. This chapter explains how to generate media queries wherever you need them, giving you control of your styles on any device. Chapter 7, Easy CSS3, Image Sprites, and More ...
compass-2.1.2.jar,Lucene解析的包
This book covers Android app design fundamentals in Android Studio using Java programming language. The author assumes you have no experience in app development. The book starts with the installation ...
compass 最新的compass,值得下载
资源来自pypi官网。 资源全名:django-pipeline-compass-0.1.4.tar.gz
前端开源库-compass-mixins.zip
资源分类:Python库 所属语言:Python 资源全名:roadelou-compass-0.0.5.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059