NotImplementedException is an internal native API

I got the following warning when I try to create my project using ant. My build.xml ist is automatically generated from eclipse:

warning: NotImplementedException is internal proprietary API and may be removed in a future release 

In Eclipse, there is no error in the line, and if I delete the line (this is an annotation for sleep mode), the error will occur on the other line. It seems like an error occurs on the first line of my java file.

I tried replacing hibernate and annotations with the new version as well as with javax persistence. But nothing helped.

I hope that someone else will have the same denial and knows what I need to do.

EDIT:

 @Entity @Inheritance(strategy=InheritanceType.TABLE_PER_CLASS) @Table(name="myclass") public class MYCLASS implements Cloneable { 

The second line generates a warning. But if I delete the line, the next one will generate the same warning. If I delete all annotations, the last line generates a warning.

+7
source share
1 answer

Are you importing sun.reflect.generics.reflectiveObjects.NotImplementedException somewhere ?. Sun classes are not part of the official Java API and may be changed / removed at any time without notice. In addition, they may not be available if someone runs your application on a different JVM than Oracle. For example, the IBM JVM does not have access to the sun classes, and therefore your program will run at run time.

+11
source

All Articles