Error:java: Compilation failed: internal java compiler error

created at 10-01-2021 views: 5

Code build error, all the Internet says to change the jdk version or increase the memory. I tried it and it didn’t take effect. I checked it for a long time because it was used.    

A Shape object This object has two jar packages. There is a problem with the order of references, and the references conflict. There is a Shape in the poi.
spire.presentation also has Shape

solution

com.spire.presentation.Shape shape = animationEffect.getShapeTarget();

If it doesn't work, you can try to change the jdk version. Many answers online

created at:10-01-2021
edited at: 10-01-2021: