Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile in IntelliJ #97

Open
rfraser3 opened this issue Nov 17, 2021 · 3 comments
Open

Unable to compile in IntelliJ #97

rfraser3 opened this issue Nov 17, 2021 · 3 comments

Comments

@rfraser3
Copy link

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
Copy link

seconded @rfraser3, did you figure out a solution?

@rfraser3
Copy link
Author

@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
Copy link

zihanxu3 commented Dec 1, 2021

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants