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

Fixed: Main method not found #10

Closed
wants to merge 2 commits into from

Conversation

yannik-dittmar
Copy link

Hey there!
I did my best to fix the following issue that occurs when running the Docker container.

Error: Main method not found in class com.jetbrains.space.import.MainKt, please define the main method as:
   public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application

I never had anything to do with Kotlin, so I don't know if this solution is ok, but at least it works.

rafaavc and others added 2 commits September 27, 2022 13:18
Merge-request: CRL-MR-20678
Merged-by: Rafael Cristino <rafaelvcristino@gmail.com>
@sam-berry
Copy link

Thank you for doing this. Is this image available anywhere? I am building locally now to get my import done.

@yannik-dittmar
Copy link
Author

Unfortunately, it is not available through the official registry, I also have to build it locally until someone merges the pull request.

@dimart
Copy link
Collaborator

dimart commented Nov 4, 2022

Hi @yannik-dittmar, thank you so much for fixing this! ♥️

To make things move faster and not bother you asking to fix tests,
I'm going to close the PR since I've already fixed it in this commit: 4a231ab

@sam-berry the new docker image is in the registry now. You can pull it like this:
docker pull public.registry.jetbrains.space/p/space/containers/space-issues-import:latest.

Thanks!

@dimart dimart closed this Nov 4, 2022
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

Successfully merging this pull request may close these issues.

4 participants