Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

1154757Feb 20 2017 — edited Feb 23 2017

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)

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 23 2017
Added on Feb 20 2017
1 comment
969 views