Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 从类名转换为类时未找到类[+;]_Java_Spring_Hibernate_Spring Boot_Eclipselink - Fatal编程技术网

Java 从类名转换为类时未找到类[+;]

Java 从类名转换为类时未找到类[+;],java,spring,hibernate,spring-boot,eclipselink,Java,Spring,Hibernate,Spring Boot,Eclipselink,我在字段中有一个映射,它假设在MovieInfo之后继承的实体和相同的值是键 @ElementCollection(fetch=FetchType.EAGER) @CollectionTable( name="contributions_elements_to_update", joinColumns=@JoinColumn(name = "contribution_id") ) @MapKeyColumn(name="new_element") @Column(

我在字段中有一个映射,它假设在MovieInfo之后继承的实体和相同的值是键

@ElementCollection(fetch=FetchType.EAGER)
@CollectionTable(
        name="contributions_elements_to_update",
        joinColumns=@JoinColumn(name = "contribution_id")
)
@MapKeyColumn(name="new_element")
@Column(name = "old_element")
private Map<? extends MovieInfo, ? extends MovieInfo> elementsToUpdate;

看起来它试图加载一个名为“+”的类,当然失败了。我相信问题是另一段代码,但就像另一段代码一样。我已经创建了这个实体和一个映射,它甚至无法被编译。Stacktrace就像是从spring上下文开始的-所以它被编译了看起来它试图加载一个名为“+”的类,当然失败了。我相信问题是另一段代码,但就像另一段代码一样。我已经创建了这个实体和一个映射,它甚至不能被编译
Caused by: org.eclipse.persistence.exceptions.ValidationException: 
Exception Description: Class: [+] was not found while converting from class names to classes.
Internal Exception: java.lang.ClassNotFoundException: +