|
I have a problem when I run the client on the intellij "error: Could not find nor load the main class com.client.client"
Java applications requires the presence of at least one .class file to run; .java files are only meant for editing. In your instance, you will need to build/compile the project first and that is why it isn't finding "com.client.Client" which opens the client window.
If its a gradle project, look for a build.gradle.kts file and right-click it and run that which will automatically build and implement all libraries required. Use 1.8 java if you don't have that set already... to do so right-click project and use Open Module Settings and change the JDK to match like so:
Hope that helps and teaches you something.
If you had really no intentions of helping then don't post useless shit.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |