cardillo / joinery

Data frames for Java
https://joinery.sh
GNU General Public License v3.0
695 stars 167 forks source link

Unable to compile in IntelliJ #97

Open rfraser3 opened 2 years ago

rfraser3 commented 2 years ago

Hello,

I downloaded the .zip and opened the project in IntelliJ. When I try to build the project, making no other changes, I receive this error:

/Users/myname/Desktop/joinery/src/main/java/joinery/impl/Metrics.java:25:24
java: package org.aspectj.lang does not exist

Additionally, when I try to run mvn clean install in my terminal, I get these:

/Users/myname/Desktop/joinery/src/test/java/joinery/doctest/DocTestSuite.java:[61,23] package com.sun.javadoc does not exist

The only solution I've seen seem extremely convoluted so it would be surprising to see those required here. Any ideas?

zihanxu3 commented 2 years ago

seconded @rfraser3, did you figure out a solution?

rfraser3 commented 2 years ago

@zihanxu3 unfortunately no. From what I could tell there is something with aspectj thays incompatible no matter how many official fixes I tried. The project also doesn’t build in Eclipse.

zihanxu3 commented 2 years ago

@rfraser3 actually I figured out a work around for this - you can just comment out Metrics.java and whatever files that pops up next when you rebuild the project. Should be ~3 files affected by the missing library but they are all related to a test. So commenting out those files shouldn't affect your work on the main project. After commenting out those files the project builds normally.