amelentev / java-oo

Java Operator Overloading
http://amelentev.github.io/java-oo/
268 stars 31 forks source link

Problems compiling in Intellij IDEA 2016.1.3 Ult #39

Closed lilggamegenius closed 7 years ago

lilggamegenius commented 8 years ago

Hi, i have just started using Java-OO and so far nothing is working. Everywhere i try to use any of the operators, the compiler throws errors while the IDE says that everything is fine. I have tried using the idea plugin as well as the javac plugin and it hasn't worked. I'm not sure what files to upload so if you need any, i can upload them. Hope i can get this working.

amelentev commented 8 years ago

Idea plugin should be used with javac plugin. and seems javac plugin doesn't work in your case. try open javac-oo-mvndemo project in IDEA: https://github.com/amelentev/java-oo/tree/master/javac-oo-mvndemo Works for me in IDEA 2016.2

lilggamegenius commented 8 years ago

OK, when i used the maven demo it worked fine, but when i tried in my project it threw out errors (like this: java: array required, but java.util.ArrayList found). For my project i used the javac8 plugin since i'm using java 8. Although when i tried this time i got a lombok error (my main lib i use, uses it). Is there a possibility that its incompatible?

amelentev commented 8 years ago

I installed lombok plugin in IDEA 2016.2 and added lombok.jar to pom.xml @Getter @Setter works for me in javac-oo-mvndemo. Check you use javac compiler at Settings-..-Java Compiler. And annotation processing is enabled in Annotation Processors Maybe you are using some other special settings in IDEA or javac. If you construct a small example project what doesn't work well, I can look into it.

lilggamegenius commented 7 years ago

Sorry about being so late with this. It was my mistake.