Eclipse cannot create runnable jar – No resources selected

The problem is most likely with your run configuration.

  • Go to your Class that contains the main(String[] args) method you wish to automatically run
    when the jar is called from the command line
  • Right-click->Run As…->Application
  • Make sure it runs to your satisfaction
  • Now go through the export process as before, selecting the newly created launch configuration.

The last step is key.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)