1 Reply Latest reply on Feb 23, 2017 3:27 PM by Cdelahun-Oracle

    Getting this error in junit. Can someone suggest solution to this?

    1154757

      eb 20, 2017 2:47:48 PM com.ofss.fc.infra.das.orm.eclipselink.EclipseLinkExceptionTranslator translate

      SEVERE: Inside method translate

      java.lang.IllegalArgumentException: Unknown entity bean class: class com.ofss.fc.domain.channel.entity.channel.Channel, please verify that this class has been marked with the @Entity annotation.

          at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:707)

          at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:611)

          at com.ofss.fc.infra.das.orm.eclipselink.EclipseLinkEntityManagerWrapper.get(EclipseLinkEntityManagerWrapper.java:868)

          at com.ofss.fc.infra.das.orm.eclipselink.EclipseLinkEntityManagerWrapper.load(EclipseLinkEntityManagerWrapper.java:345)

          at com.ofss.fc.domain.channel.entity.channel.ChannelFactory.loadChannelInstance(ChannelFactory.java:76)

          at com.ofss.fc.app.Interaction.cacheChannelInstance(Interaction.java:2027)

          at com.ofss.fc.app.Interaction.begin(Interaction.java:310)

          at com.ofss.fc.app.Interaction.begin(Interaction.java:197)