Вот мой объект:
Код: Выделить всё
package com.opsc.pipe.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;
@Entity
@Table(name = "ADT_Table")
@Data
public class ADTRecord {
@Id
@Column(name = "MessageId")
private Long messageId;
private String MSH_3_Sending_Application;
private String MSH_4_Sending_Facility;
private String HD_1_NameSpaceID;
...
Код: Выделить всё
.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: No identifier specified for entity: com.opsc.pipe.entity.ADTRecord
Есть идеи, где искать разницу между запуском Eclipse и развертыванием Portaner Swarm?
Спасибо.
Подробнее здесь: https://stackoverflow.com/questions/782 ... -portainer
Мобильная версия