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

error when running sbt #34

Open
mgryder opened this issue Jan 21, 2020 · 9 comments
Open

error when running sbt #34

mgryder opened this issue Jan 21, 2020 · 9 comments

Comments

@mgryder
Copy link

mgryder commented Jan 21, 2020

I successfully compiled pdffigures 2, but when I tried running sbt inside pdffigures2 after downloading the package. When I typed "run", I got this error:
[error] /home/mgryder/pdfscala/pdffigures2/src/main/scala/org/allenai/pdffigures 2/VisualLogger.scala:173:45: value EXIT_ON_CLOSE is not a member of object javax .swing.JFrame
[error] frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)
[error] ^
[error] one error found
[error] (Compile / compileIncremental) Compilation failed

@Sparkier
Copy link
Contributor

Sparkier commented Mar 3, 2020

I think my pull request fixes this. It is not merged yet, however. I think maintainers are probably currently busy. Check out my pull request or my fork, then it should work.

@zjxs1997
Copy link

@Sparkier Your version helps a lot and I managed to compile, thank you so much.
However, when I run any other command such as runMain org.allenai.pdffigures2.FigureExtractorBatchCli, the progress gets stuck, while "java" progress still occupies a lot of resources. I wander if you ran into this problem and know how to solve this?

@Sparkier
Copy link
Contributor

Sorry, I think I can't help you on this one. I did not run into this problem back when I needed the library, and have not been using it since. So sadly, I can't really provide you with any help here.

@zjxs1997
Copy link

Sorry, I think I can't help you on this one. I did not run into this problem back when I needed the library, and have not been using it since. So sadly, I can't really provide you with any help here.

Thanks for your reply. I found the program stuck because of some what concurrence problem, and totally can't figure out why. lol

@under-score
Copy link

under-score commented Nov 7, 2021

sbt assembly doesn't work here also ... When using the pull request, sbt starts but produces numerous other dependency errors

Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading org.allenai.common:common-core_2.12:2.0.0
...

@Dzeri96
Copy link

Dzeri96 commented Feb 3, 2022

For anyone trying to compile this in 2021 or later, run sbt "set test in assembly := {}" clean assembly to exclude the tests.

@under-score
Copy link

For anyone trying to compile this in 2021 or later, run sbt "set test in assembly := {}" clean assembly to exclude the tests.

You made my day!

@crescent73
Copy link

sbt "set test in assembly := {}" clean assembly

Hello, can you provide me with a binary jar file? Try a lot of compilation methods have failed, thank you!

@shivanandmn
Copy link

For anyone trying to compile this in 2021 or later, run sbt "set test in assembly := {}" clean assembly to exclude the tests.

You made my day!

thanks

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

7 participants