Skip to content

errors while import project using gradle #2994

Answered by tgkei
tgkei asked this question in Q&A
Discussion options

You must be logged in to vote

It was nothing related to coc-metals. It's all about the way to set mainClass using gradle. When using gradle version 7.1.1, gradle.init set mainClass using mainClass = 'sparktest.App', but it should be changed to setMainClass("sparktest.App") and it worked for me

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@tgkei
Comment options

@ckipp01
Comment options

@tgkei
Comment options

Comment options

You must be logged in to vote
1 reply
@ckipp01
Comment options

Answer selected by tgkei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants